summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosty <passedgoadngot200@disroot.org>2025-09-16 18:24:26 -0400
committerfrosty <passedgoadngot200@disroot.org>2025-09-16 18:24:26 -0400
commit71e72496b0709de3ef67b9d80b9ff220309ab5c8 (patch)
tree5ed89f5f4cdbece5fae2bdc340232818a5896f45
parent06ba136a9d4ea6b96780cf33d84ec72a9eaefca4 (diff)
downloadwww-master.tar.gz
www-master.zip
add basic Open Graph tags to <head>HEADmaster
-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 d9b2212..f60954f 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -6,6 +6,10 @@
<title>{{ if not .IsHome }}{{ .Title | title }} - {{ end }}{{ .Site.Title }}</title>
<link rel="stylesheet" type="text/css" href="/style.css">
<link rel="icon" href="/favicon.ico">
+ <meta property="og:title" content="{{ if not .IsHome }}{{ .Title | title }} - {{ else }}{{ .Site.Title }}{{ end }}">
+ <meta property="og:url" content="{{ .RelPermalink }}">
+ <meta property="og:image" content="/avatar.png">
+ <meta property="og:site_name" content="{{ .Site.Title }}">
</head>
<body>
{{ partial "header.html" . }}