freedom/layouts/partials/metadata.html
2022-09-05 19:26:00 -04:00

17 lines
No EOL
523 B
HTML

<div class="metadata">
<div>
{{$author := index .Site.Data.details.staff (.Params.author | default "default")}}
<img src="{{$author.image}}" style="max-width:10rem;border-radius:5rem;">
<h2>{{$author.name}}</h2>
<p>Date: {{.Date | time.Format "Jan 02 2006"}}</p>
</div>
<div>
<h3>Tags:</h3>
{{ range (.GetTerms "tags")}}
<a href="{{.Permalink}}">{{.LinkTitle}}</a>
{{end}}
</div>
</div>
</div>