freedom/layouts/partials/metadata.html

15 lines
443 B
HTML
Raw Normal View History

2022-08-22 20:03:48 -04:00
<div class="metadata">
<div>
{{$author := index .Site.Data.details.staff (.Params.author | default "default")}}
<h2>{{$author.name}}</h2>
<p>Date: {{.Date | time.Format "Jan 02 2006"}}</p>
</div>
<h4>Tags:</h4>
<ul>
{{ range (.GetTerms "tags")}}
<a href="{{.Permalink}}"><li>{{.LinkTitle}}</li></a>
{{end}}
</ul>
</div>
</div>