Diffstat (limited to 'views/pages/blog-page.html')
| -rw-r--r-- | views/pages/blog-page.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/views/pages/blog-page.html b/views/pages/blog-page.html index c81406f..241ef43 100644 --- a/views/pages/blog-page.html +++ b/views/pages/blog-page.html @@ -1,3 +1,10 @@ +{{ define "meta" }} +<meta name="og:title" content="{{ .Title }}"> +<meta name="og:description" content="{{ .ShortDescription }} [{{ .ActionDate }}]"> +<meta name="og:image" content="{{ .Thumbnail }}"> +<meta name="twitter:card" content="summary_large_image"> +{{ 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-col px-8 py-4 overflow-y-auto"> |