Add title and permalink

This commit is contained in:
Michael Zhang 2021-10-31 23:13:00 -05:00
parent a2e3f6f6e6
commit 3424164934

View file

@ -1,5 +1,7 @@
{{- define "headExtra" -}}
<meta name="description" content="{{ .Summary }}" />
<meta property="og:title" content="{{ .Title }}" />
<meta property="og:url" content="{{ .Permalink }}" />
<meta property="og:description" content="{{ .Summary }}" />
<meta property="og:type" content="article" />
<meta property="article:published_time" content="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}" />