hugo-theme-hyde-hyde/layouts/partials/content_list.html
2018-07-10 11:41:30 +10:00

15 lines
433 B
HTML

<h1 class="title">{{ .Title }}</h1>
<ul class="posts">
{{- range .Data.Pages -}}
<li>
<span>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ if not .Date.IsZero }}
<time class="pull-right post-list">
{{- .Date.Format (.Site.Params.dateformat | default "Jan 02, 2006") -}}
</time>
{{end}}
</span>
</li>
{{- end }}
</ul>