summaryrefslogtreecommitdiffci
path: root/views/pages/home-page.html
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <saya.andy@posteo.com> 2026-03-28 01:05:02 +0700
committerGravatar SayaAndy <saya.andy@posteo.com> 2026-03-28 01:05:02 +0700
commit610341bc9d59f9724e8e71f663b28df1904cb038 (patch)
tree2d091bdc534acf066622c8b9378287852ce0b864 /views/pages/home-page.html
parent90d8f1e5ca4170a52e44f63a9fe4d5caf99d6dd6 (diff)
downloadweb-610341bc9d59f9724e8e71f663b28df1904cb038.tar.gz
web-610341bc9d59f9724e8e71f663b28df1904cb038.zip
feat: add meta for embeds & search engines
Diffstat (limited to 'views/pages/home-page.html')
-rw-r--r--views/pages/home-page.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/views/pages/home-page.html b/views/pages/home-page.html
index 6d397fa..4ba6b8e 100644
--- a/views/pages/home-page.html
+++ b/views/pages/home-page.html
@@ -1,3 +1,9 @@
+{{ define "meta" }}
+<meta name="og:title" content="{{ .Title }}">
+<meta name="og:description" content="{{ .L.HomePage.Description }}">
+<meta name="og:image" content="https://f003.backblazeb2.com/file/sayana-static/home-page-gifs/{{ .GifName }}">
+{{ end }}
+
{{ define "body" }}
<div class="absolute w-full h-full inset-0 inset-shadow-[0_0_0.4rem_black] pointer-events-none z-20"></div>
<div class="relative bg-background-light flex flex-row ar-lt-0.6:flex-col w-full h-full overflow-y-auto text-base/loose tracking-wide z-10">