b1de9f056e
Co-authored-by: Dmitry Kolosov <Mitrichius@users.noreply.github.com>
27 lines
887 B
HTML
27 lines
887 B
HTML
{{ $dateFormat := "2006-01-02" }}
|
|
{{ if .Site.Params.dateFormat }}
|
|
{{ $dateFormat = .Site.Params.dateFormat }}
|
|
{{ end }}
|
|
|
|
<div class="post-info">
|
|
{{ if .Params.date }}
|
|
<div class="post-date">{{ .Params.date.Format $dateFormat }}</div>
|
|
{{ end }}
|
|
<div class="post-taxonomies">
|
|
{{ if .Params.categories }}
|
|
<ul class="post-categories">
|
|
{{ range .Params.categories }}
|
|
<li><a href="{{ "categories/" | urlize | absLangURL }}">{{ . }}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }}
|
|
{{ if .Params.tags }}
|
|
<ul class="post-tags">
|
|
{{ range .Params.tags }}
|
|
<li><a href="{{ "tags/" | absLangURL }}{{ . | urlize }}">#{{ . }}</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }}
|
|
</div>
|
|
</div>
|