fix date
This commit is contained in:
parent
a0a48f573f
commit
2db872e335
1 changed files with 4 additions and 1 deletions
|
@ -3,13 +3,15 @@
|
|||
|
||||
<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")}}
|
||||
|
@ -21,6 +23,7 @@
|
|||
{{.LinkTitle}}</span></a>
|
||||
{{end}}
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
|
||||
</section>
|
Loading…
Reference in a new issue