37 lines
1.2 KiB
HTML
37 lines
1.2 KiB
HTML
|
<aside>
|
||
|
<ul>
|
||
|
<li>
|
||
|
<time class="post-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}">{{ .Date.Format "Jan 2, 2006" }}</time>
|
||
|
</li>
|
||
|
{{ if ne .Date .Lastmod }}
|
||
|
<li>
|
||
|
{{ T "modifiedOn" }} <time datetime="{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}">{{ .Lastmod.Format "Jan 2, 2006" }}</time>
|
||
|
</li>
|
||
|
{{ end }}
|
||
|
{{ if .Params.categories }}
|
||
|
<li>
|
||
|
{{ T "categories" }}
|
||
|
<em>
|
||
|
{{ range $i, $c := .Params.categories }}
|
||
|
{{ if $i }}, {{ end }}
|
||
|
<a href="{{ relLangURL ( printf "categories/%s" ( $c | urlize ) ) }}">{{ $c }}</a>
|
||
|
{{ end }}
|
||
|
</em>
|
||
|
</li>
|
||
|
{{ end }}
|
||
|
|
||
|
{{ if .Params.tags }}
|
||
|
<li>
|
||
|
<em>
|
||
|
{{ range $i, $t := .Params.tags }}
|
||
|
{{ if $i }}, {{ end }}
|
||
|
<a href="{{ relLangURL ( printf "tags/%s" ( $t | urlize ) ) }}">#{{ $t }}</a>
|
||
|
{{ end }}
|
||
|
</em>
|
||
|
</li>
|
||
|
{{ end }}
|
||
|
|
||
|
<li>{{ T "readingTime" .ReadingTime }}</li>
|
||
|
</ul>
|
||
|
</aside>
|