mirror of
https://github.com/magefile/mage.git
synced 2026-10-24 06:19:18 +03:00
fix dates
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user