32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
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 dt-published">{{ .Params.date.Format $dateFormat }}</div>
|
|
{{ end }}
|
|
|
|
<a class="post-hidden-url u-url" href="{{ .Permalink }}">{{ .Permalink }}</a>
|
|
<a href="{{ .Site.BaseURL }}" class="p-name p-author post-hidden-author h-card" rel="me">{{ .Params.author | default .Site.Params.author }}</a>
|
|
|
|
|
|
<div class="post-taxonomies">
|
|
{{ if .Params.categories }}
|
|
<ul class="post-categories">
|
|
{{ range .Params.categories }}
|
|
<li><a href="{{ "categories/" | absLangURL }}{{ . | urlize }}">{{ . }}</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>
|