blob: f24a605744f8f80be9c2c2d485904a0b07fb2f4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<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>
|