28 lines
1 KiB
HTML
28 lines
1 KiB
HTML
<section class="metadata">
|
|
{{$author := index .Site.Data.details.staff (.Params.author | default "default")}}
|
|
|
|
<div><img src="{{$author.image}}" style="max-width:64px;border-radius:64px;">
|
|
<h2>{{$author.name}}</h2>
|
|
{{if .Date }}
|
|
<p><strong>Published:</strong> {{.Date | time.Format "Jan 02 2006"}}
|
|
{{end}}
|
|
{{if .Params.updated}}
|
|
<br><strong>Updated:</strong> {{.Params.updated | time.Format "Jan 02 2006"}}
|
|
{{end}}
|
|
</p>
|
|
</div>
|
|
{{if .GetTerms "tags"}}
|
|
<div id="tags">
|
|
<h2>Tags:</h3>
|
|
{{ range (.GetTerms "tags")}}
|
|
<a href="{{.Permalink}}" class="tag">
|
|
|
|
<svg class="icon">
|
|
<use href="#tag"></use>
|
|
</svg><span>
|
|
{{.LinkTitle}}</span></a>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
</section>
|