mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 20:23:18 -06:00
35 lines
893 B
HTML
35 lines
893 B
HTML
{{ if or .Date (.GetTerms "tags") }}
|
|
<div class="post-metadata">
|
|
{{ if .Date }}
|
|
|
|
<span class="date">
|
|
{{ partial "icon.html" "calendar" }}
|
|
<time datetime="{{ .Date.Format "January 2, 2006" }}" pubdate>
|
|
{{ .Date.Format "January 2, 2006" }}
|
|
</time>
|
|
|
|
{{ if ne .Lastmod .Date }}
|
|
<time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate>
|
|
(Modified {{ .Lastmod.Format "January 2, 2006" }})
|
|
</time>
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
</span>
|
|
|
|
<span class="wordcount">
|
|
{{ partial "icon.html" "type" }}
|
|
{{ .WordCount }} words
|
|
</span>
|
|
|
|
<div class="tags">
|
|
{{ range (.GetTerms "tags") }}
|
|
<span class="tag">
|
|
{{ partial "icon.html" "tag" }}
|
|
<a href="{{ .Permalink }}">{{ .LinkTitle }}</a>
|
|
</span>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|
|
{{ end }}
|