about summary refs log tree commit diff homepage
path: root/_layout/head.html
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2023-03-16 14:19:41 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2023-03-16 14:19:41 +0900
commit602652b13cb1d2a737d094558fbef4cb8e2a1110 (patch)
tree84fade966d187f267e1633c31b923697bb768bfa /_layout/head.html
parent058269e94ead1c6b567fb18f8809ade12f4f92cc (diff)
downloadsite-602652b13cb1d2a737d094558fbef4cb8e2a1110.tar.gz
Proofread and update metadata
Diffstat (limited to '_layout/head.html')
-rw-r--r--_layout/head.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/_layout/head.html b/_layout/head.html
index d6b043e..70779f7 100644
--- a/_layout/head.html
+++ b/_layout/head.html
@@ -1,4 +1,10 @@
 {{insert hair.html}}
+{{isnotempty rss}}<meta name=description content='{{rss_description}}'>{{end}}
+{{isdef title}}<meta property=og:title content='{{title}}'>{{end}}
+<meta property=og:site_name content={{website_title}}>
+<meta property=og:type content=article>
+<meta property=og:url content={{fd_full_url}}>
+<meta property=og:image content={{website_url}}/assets/favicon.png>
 {{if hasmath}}<link rel=stylesheet href=/css/katex.min.css>{{end}}
 {{isdef title}}<title>{{title}} - McSinyx</title>{{end}}
 <body>