14 lines
410 B
HTML
14 lines
410 B
HTML
<div class="post-meta">
|
|
{{ $dateTime := .PublishDate.Format "2006-01-02" }}
|
|
{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }}
|
|
<time datetime="{{ $dateTime }}">
|
|
{{ .PublishDate.Format $dateFormat }}
|
|
</time>
|
|
{{ with .Params.tags }}
|
|
{{ range . }}
|
|
{{ $href := print (absURL "tags/") (urlize .) }}
|
|
<a href="{{ $href }}">#{{ . }}</a>
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|