24 lines
830 B
HTML
24 lines
830 B
HTML
{{ $lastmod := .Lastmod.Format "2006-01-02" }}
|
|
{{ $date := .Date.Format "2006-01-02" }}
|
|
<article>
|
|
<h1>{{ .Title }}</h1>
|
|
<div class="meta">
|
|
Posted <time datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}'>
|
|
{{ .Date.Format (.Site.Params.dateFormat | default "2 January 2006" ) }}</time>
|
|
• ~{{ .FuzzyWordCount }} words
|
|
• ~{{ .ReadingTime }} min
|
|
|
|
{{ if not (eq $lastmod $date) }}
|
|
• last updated <time datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}'>
|
|
{{ .Lastmod.Format (.Site.Params.dateFormat | default "2 January 2006" ) }}
|
|
</time>
|
|
{{ end }}
|
|
|
|
<br />
|
|
|
|
Tagged
|
|
{{ with .Page.Params.Tags }}{{ partial "taxonomy/tags.html" . }}{{ end }}
|
|
</div>
|
|
{{ .Content }}
|
|
</article>
|