hugo-theme-introduction/layouts/partials/blog/li.html
2018-07-20 17:27:32 +02:00

5 lines
238 B
HTML

{{ range .Pages.ByPublishDate.Reverse }}
<li class="post-item">
<span><a href="{{ .Permalink }}">{{ .Title }}</a></span> - <span>{{ .Date.Format (.Site.Params.dateFormat | default "Jan 02, 2006") }}</span>
</li>
{{ end }}