hugo-theme-introduction/layouts/partials/blog/li.html
2020-05-31 14:12:41 -04:00

5 lines
282 B
HTML

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