minor fixes
parent
2bec07f636
commit
90f80465cd
@ -1,27 +1,20 @@
|
||||
<section class="metadata">
|
||||
<section class="metadata" id="metadata">
|
||||
{{$author := index .Site.Data.details.staff (.Params.author | default "default")}}
|
||||
|
||||
<div><a href="{{$author.url}}"><img src="{{$author.image}}" style="max-width:64px;border-radius:64px;"></a>
|
||||
<div style="flex-direction: row;"><a href="{{$author.url}}"><img src="{{$author.image}}" style="max-width:64px;border-radius:64px;"></a>
|
||||
<h2>{{$author.name}}</h2>
|
||||
{{if .Date }}
|
||||
<p style="width:100%;"><strong>Published:</strong> {{.Date | time.Format "Jan 02 2006"}}
|
||||
</div>
|
||||
<p><strong>Published:</strong> <a href="{{.Permalink}}#metadata">{{.Date | time.Format "Jan 02 2006"}}</a>
|
||||
{{end}}
|
||||
{{if .Params.updated}}
|
||||
<br><strong>Updated:</strong> {{.Params.updated | time.Format "Jan 02 2006"}}
|
||||
{{end}}
|
||||
{{end}}<br/><br/>
|
||||
{{if .GetTerms "tags"}}
|
||||
<strong>Tags:</strong>
|
||||
{{ range (.GetTerms "tags")}}
|
||||
<a href="{{.Permalink}}" class="tag">{{.LinkTitle}}</a>
|
||||
{{end}}
|
||||
{{end}}
|
||||
</p>
|
||||
</div>
|
||||
{{if .GetTerms "tags"}}
|
||||
<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>
|
||||
{{end}}
|
||||
</div>
|
||||
</section>
|
||||
|
Loading…
Reference in New Issue