Commit 1bfdc454 authored by wbar's avatar wbar
Browse files

fix dates appearing on archives page

parent 5390f3f9
......@@ -12,7 +12,7 @@
{{ range .Pages }}
<li>
<span><a href="{{ .RelPermalink }}">{{ .Title }}</a></span>
<span class="articles-metadata">{{ partial "article_date.html" .}}</span>
<span class="articles-metadata">{{ partial "archive_date.html" .}}</span>
</li>
{{ end }}
</ul>
......
{{ .Date.Day }} {{ index $.Site.Data.mois (printf "%d" .Date.Month) }}
{{ if ne .Lastmod .Date }} - modif.
{{ .Lastmod.Day }} {{ index $.Site.Data.mois (printf "%d" .Lastmod.Month) }} {{ .Lastmod.Year }}{{ end }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment