damnit four
This commit is contained in:
36
themes/kiera/layouts/partials/aside.html
Normal file
36
themes/kiera/layouts/partials/aside.html
Normal file
@ -0,0 +1,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>
|
Reference in New Issue
Block a user