33 lines
No EOL
932 B
HTML
33 lines
No EOL
932 B
HTML
<div class="metadata">
|
|
<div id="info">
|
|
{{$author := index .Site.Data.details.staff (.Params.author | default "default")}}
|
|
<div>
|
|
<img src="{{$author.image}}" style="max-width:5rem;border-radius:5rem;">
|
|
<h2>{{$author.name}}</h2>
|
|
|
|
</div>
|
|
<div>
|
|
<p>Published: {{.Date | time.Format "Jan 02 2006"}}
|
|
{{if .Params.updated}}
|
|
<br>Published: {{.Params.updated | time.Format "Jan 02 2006"}}
|
|
{{end}}
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
<div id="tags">
|
|
{{ range (.GetTerms "tags")}}
|
|
<a href="{{.Permalink}}" class="tag">
|
|
|
|
<svg class="icon">
|
|
<use href="#tag"></use>
|
|
</svg><span>
|
|
{{.LinkTitle}}</span></a>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
|
|
<div>
|
|
<a href="mailto:{{$author.email}}?RE:subject={{.Title}}">Reply to this post</a>
|
|
</div>
|
|
</div> |