21 lines
636 B
HTML
21 lines
636 B
HTML
<div class="post-meta">
|
|
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
|
|
{{- .Date.Format (cond (isset $.Site.Params "datefmt") $.Site.Params.datefmt "01-02-2006") -}}
|
|
</time>;
|
|
|
|
{{- range $taxo := (slice "Categories" "Series" "Tags") }}
|
|
{{- $elems := $.Param $taxo }}
|
|
{{- if $elems }}
|
|
<span class="{{ (lower $taxo) }}">
|
|
{{ $taxo }}: [
|
|
{{- range $name := $elems }}
|
|
{{- with $.Site.GetPage (lower (printf "/%s/%s" $taxo (urlize $name))) }}
|
|
<a href="{{ .Permalink }}">{{ $name }}</a>
|
|
{{- end }}
|
|
{{- end }}
|
|
]
|
|
</span>
|
|
{{- end }}
|
|
{{- end }}
|
|
</div>
|