hugo-theme-hyde-hyde/layouts/partials/content_list.html

16 lines
433 B
HTML
Raw Normal View History

2018-01-24 09:42:50 +00:00
<h1 class="title">{{ .Title }}</h1>
<ul class="posts">
2018-07-10 01:41:30 +00:00
{{- range .Data.Pages -}}
2018-01-24 09:42:50 +00:00
<li>
<span>
2018-07-10 01:41:30 +00:00
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
2018-03-29 23:49:07 +00:00
{{ if not .Date.IsZero }}
<time class="pull-right post-list">
2018-04-25 07:10:26 +00:00
{{- .Date.Format (.Site.Params.dateformat | default "Jan 02, 2006") -}}
2018-03-29 23:49:07 +00:00
</time>
{{end}}
2018-01-24 09:42:50 +00:00
</span>
</li>
{{- end }}
</ul>