From 47167512722fbc22503bfb32fde7e574e7243ed9 Mon Sep 17 00:00:00 2001 From: sammyette Date: Sat, 3 May 2025 21:49:48 -0400 Subject: [PATCH] feat(website): add meta tags --- website/src/website.gleam | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/website/src/website.gleam b/website/src/website.gleam index ddf4d14..cd82ca5 100644 --- a/website/src/website.gleam +++ b/website/src/website.gleam @@ -24,6 +24,8 @@ pub fn main() { } 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.head([], [ html.meta([ @@ -34,6 +36,16 @@ fn create_page(content: element.Element(a)) -> element.Element(a) { attribute.rel("stylesheet"), 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.nav([attribute.class("fixed top-0 w-full z-50 p-1 mb-2 border-b border-b-zinc-300 backdrop-blur-md")], [