diff options
Diffstat (limited to 'themes/default/layouts/_default/home.archives.html')
-rw-r--r-- | themes/default/layouts/_default/home.archives.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/layouts/_default/home.archives.html b/themes/default/layouts/_default/home.archives.html index a49b96d..3b5c94b 100644 --- a/themes/default/layouts/_default/home.archives.html +++ b/themes/default/layouts/_default/home.archives.html @@ -25,7 +25,7 @@ <item-list> {{ range (.Paginator.Pages.GroupByDate "2006") }} {{ range (first 1 .Pages) }} - <h1>{{ .Date.Format "2006" }}</h1> + <h1>{{ .Date | time.Format "2006" }}</h1> {{ end }} <ul> {{ range .Pages }} @@ -36,7 +36,7 @@ href="{{ .Permalink }}#{{ partial "card-id.html" . }}" > <span> - <code title="{{ .Date | time.Format "Posted: Monday, January 2, 2006 at 15:04:05 MST" }}">{{ .Date.Format "02 Jan" }}</code> + <code title="{{ .Date | time.Format "Posted: Monday January 2 2006 at 15:04:05 MST" }}">{{ .Date | time.Format "02 Jan" }}</code> </span> <span>{{ partial "meta-title.html" . }}</span> <span>@{{ $author.user }}</span> |