hugo-theme-introduction/layouts/_default/taxonomy.html

22 lines
626 B
HTML
Raw Normal View History

2018-07-01 08:09:29 +00:00
{{ define "title" }}
2018-07-23 22:04:56 +00:00
<h1 class="bold-title is-1">{{ .Data.Singular | humanize }}: {{ lower .Title }}</h1>
2018-07-01 08:09:29 +00:00
{{ end }}
{{ define "main" }}
<div class="container">
<ul>
2018-07-20 15:27:32 +00:00
{{ range .Pages.ByPublishDate.Reverse }}
{{ if .Date }}
2018-07-01 08:09:29 +00:00
<li>
2018-07-20 15:27:32 +00:00
<a href="{{ .Permalink }}">{{ .Date.Format (.Site.Params.dateFormat | default "Jan 02, 2006") }} | {{ .Title }}</a>
2018-07-01 08:09:29 +00:00
</li>
{{ else }}
<li>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</li>
{{ end }}
2018-07-01 08:09:29 +00:00
{{ end }}
</ul>
2018-01-26 19:00:30 +00:00
</div>
2018-07-01 08:09:29 +00:00
{{ end }}