add proper metadata lines

master
Amolith 1 year ago
parent b6d437d4e0
commit 35fa0fd306
Signed by: Amolith
GPG Key ID: 5548AD9930655715
  1. 4
      themes/secluded/layouts/_default/single.html

@ -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…
Cancel
Save