From cdc1ab6edb241e9fb973eff28ae5ff370d805222 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Wed, 21 Feb 2024 22:57:23 -0500 Subject: Maybe add opengraph unfurls? --- content/_index.md | 4 ++-- layouts/_default/baseof.html | 4 ++++ layouts/index.html | 3 +++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/content/_index.md b/content/_index.md index 1f1c75a..81be148 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,9 +1,9 @@ --- title: The Grimoire +summary: | + A personal site. --- The best way to contact me is [by email], but [I'm present in many places]. [by email]: mailto:owen@grimoire.ca [I'm present in many places]: https://wheretofind.me/@owen - - diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c665429..1714af4 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -7,6 +7,10 @@ {{- with .OutputFormats.Get "rss" }} {{- end }} + {{- block "opengraph" . }} + {{- if .Title }}{{ end }} + {{- if .Summary }}{{ end }} + {{- end }} {{- block "header" . }} diff --git a/layouts/index.html b/layouts/index.html index f9f48e1..62f9019 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,3 +1,6 @@ +{{- define "opengraph" }} +{{- end }} + {{- define "main" }}
{{- if .Pages }} -- cgit v1.2.3