freedom/layouts/partials/metadata.html

18 lines
565 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")}}
2022-09-05 19:26:00 -04:00
<img src="{{$author.image}}" style="max-width:10rem;border-radius:5rem;">
2022-08-22 20:03:48 -04:00
<h2>{{$author.name}}</h2>
2022-09-09 17:02:10 -04:00
<p>Published: {{.Date | time.Format "Jan 02 2006"}}</p>
2022-08-22 20:03:48 -04:00
</div>
2022-09-05 19:26:00 -04:00
<div>
2022-09-09 17:02:10 -04:00
<h2>Tags</h2>
<div id="tags">
2022-08-22 20:03:48 -04:00
{{ range (.GetTerms "tags")}}
2022-09-05 19:26:00 -04:00
<a href="{{.Permalink}}">{{.LinkTitle}}</a>
2022-08-22 20:03:48 -04:00
{{end}}
2022-09-05 19:26:00 -04:00
</div>
2022-09-09 17:02:10 -04:00
</div>
2022-08-22 20:03:48 -04:00
</div>
</div>