mirror of
https://github.com/Hilbis/Hilbish
synced 2025-05-11 14:53:22 +00:00
feat(website): add meta tags
This commit is contained in:
parent
bf21667215
commit
4716751272
@ -24,6 +24,8 @@ pub fn main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn create_page(content: element.Element(a)) -> element.Element(a) {
|
fn create_page(content: element.Element(a)) -> element.Element(a) {
|
||||||
|
let description = "Something Unique. Hilbish is the new interactive shell for Lua fans. Extensible, scriptable, configurable: All in Lua."
|
||||||
|
|
||||||
html.html([attribute.class("bg-stone-50 dark:bg-stone-950 text-black dark:text-white")], [
|
html.html([attribute.class("bg-stone-50 dark:bg-stone-950 text-black dark:text-white")], [
|
||||||
html.head([], [
|
html.head([], [
|
||||||
html.meta([
|
html.meta([
|
||||||
@ -34,6 +36,16 @@ fn create_page(content: element.Element(a)) -> element.Element(a) {
|
|||||||
attribute.rel("stylesheet"),
|
attribute.rel("stylesheet"),
|
||||||
attribute.href("./tailwind.css")
|
attribute.href("./tailwind.css")
|
||||||
]),
|
]),
|
||||||
|
html.title([], "Hilbish"),
|
||||||
|
html.meta([attribute.name("theme-color"), attribute.content("#ff89dd")]),
|
||||||
|
html.meta([attribute.content("./hilbish-flower.png"), attribute.attribute("property", "og:image")]),
|
||||||
|
html.meta([attribute.content("Hilbish"), attribute.attribute("property", "og:title")]), // this should be same as title
|
||||||
|
html.meta([attribute.content("Hilbish"), attribute.attribute("property", "og:site_name")]),
|
||||||
|
html.meta([attribute.content("website"), attribute.attribute("property", "og:type")]),
|
||||||
|
html.meta([attribute.content(description), attribute.attribute("property", "og:description")]),
|
||||||
|
html.meta([attribute.content(description), attribute.name("description")]),
|
||||||
|
html.meta([attribute.name("keywords"), attribute.content("Lua,Shell,Hilbish,Linux,zsh,bash")]),
|
||||||
|
html.meta([attribute.content("https://rosettea.github.io/Hilbish/versions/new-website"), attribute.attribute("property", "og:url")])
|
||||||
]),
|
]),
|
||||||
html.body([], [
|
html.body([], [
|
||||||
html.nav([attribute.class("fixed top-0 w-full z-50 p-1 mb-2 border-b border-b-zinc-300 backdrop-blur-md")], [
|
html.nav([attribute.class("fixed top-0 w-full z-50 p-1 mb-2 border-b border-b-zinc-300 backdrop-blur-md")], [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user