hugo-theme-hyde-hyde/layouts/partials/list_content.html
2018-03-30 18:09:06 +11:00

15 lines
427 B
HTML

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