From 5f56784a3a6b262503549fc814d8ad56948933c6 Mon Sep 17 00:00:00 2001 From: insects Date: Fri, 7 Feb 2025 15:45:55 +0100 Subject: [PATCH] add important meta tags --- src/templates.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/templates.rs b/src/templates.rs index 82f8fda..44ad24c 100644 --- a/src/templates.rs +++ b/src/templates.rs @@ -14,8 +14,14 @@ pub fn layout(content: Markup) -> Markup { (DOCTYPE) html { head { - title { "beacon" } + title { "Beacon" } meta name="viewport" content="width=device-width"; + meta charset="utf-8"; + meta name="description" content="A big fish tracker for FFXIV."; + meta name="author" content="the insects institute"; + meta property="og:url" content="https://fish.insects.institute"; + meta property="og:title" content="Beacon"; + meta property="og:description" content="A big fish tracker for FFXIV."; link rel="stylesheet" href="/static/style.css"; script src="/static/htmx.js" {} }