1
0
mirror of https://github.com/magefile/mage.git synced 2026-10-24 06:19:18 +03:00

fix dates

This commit is contained in:
Nate Finch
2018-09-07 11:33:03 -04:00
parent a6b2986fdd
commit 35061ba2af
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
<ul class="posts">
{{ range .Data.Pages }}
<li><span><a href="{{ .Permalink }}">{{ .Title }}</a><time class="pull-right post-list">{{ .Date.Format "Mon, Jan 2, 2006" }}</h4></time></span></span></li>
<li><span><a href="{{ .Permalink }}">{{ .Title }}</a><time class="pull-right post-list">{{ .Date.Format "Jan 2, 2006" }}</h4></time></span></span></li>
{{ end }}
</ul>

View File

@@ -1,6 +1,6 @@
{{ partial "header.html" . }}
<div><strong>Posted:</strong> {{.Params.date}}</div>
<div><strong>Posted:</strong> {{.Date.Format "January 2, 2006"}}</div>
{{if .Params.author}}<div><strong>By: </strong>{{with .Params.authorLink}}<a href="{{.}}">{{end}}{{.Params.author}}{{if .Params.authorLink}}</a>{{end}}</div>{{end}}
<div width=600>