summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-02-21 22:57:23 -0500
committerOwen Jacobson <owen@grimoire.ca>2024-02-21 22:57:23 -0500
commitcdc1ab6edb241e9fb973eff28ae5ff370d805222 (patch)
tree68527c900d33db0141ebd7f09408660f5387a82e /layouts/_default/baseof.html
parentcd906ec414a00113fe791870b871c09a1b960fd2 (diff)
Maybe add opengraph unfurls?
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html4
1 files changed, 4 insertions, 0 deletions
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" }}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink }}" title="{{ site.Title }}">
{{- end }}
+ {{- block "opengraph" . }}
+ {{- if .Title }}<meta property="og:title" content="{{ .Title }}">{{ end }}
+ {{- if .Summary }}<meta property="og:description" content="{{ .Summary }}">{{ end }}
+ {{- end }}
</head>
<body>
{{- block "header" . }}