add proper metadata lines

This commit is contained in:
Amolith 2021-11-10 03:15:24 -05:00
parent b6d437d4e0
commit 35fa0fd306
Signed by: Amolith
GPG Key ID: 5548AD9930655715
1 changed files with 1 additions and 3 deletions

View File

@ -3,9 +3,7 @@
<article>
<div class="frontmatter">
<h1 class="post-title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h1>
{{- if .GitInfo }}
<p><strong>Last edited:</strong> <a href="{{ .Site.Params.gitUrl -}}{{ .GitInfo.Hash }}" target="_blank" rel="noopener">{{ if .Site.Params.dateformNum }}{{ dateFormat .Site.Params.dateformNum .GitInfo.AuthorDate.Local }}{{ else }}{{ dateFormat "2006-01-02" .GitInfo.AuthorDate.Local }}{{ end }}</a></p>
{{- end }}
<p><strong>Reading Time:</strong> {{ .ReadingTime }} minutes | <strong>Published:</strong> {{ dateFormat "2006-01-02" .Date }} | <strong>Last Edited:</strong> {{ dateFormat "2006-01-02" .Lastmod }}</a></p>
</div>
{{- if .Params.toc }}
<aside id="toc">