add proper metadata lines
This commit is contained in:
parent
b6d437d4e0
commit
35fa0fd306
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue