adityakumar.xyz/layouts/_default/taxonomy.html

23 lines
620 B
HTML
Raw Normal View History

2023-06-11 10:24:55 +00:00
{{ define "title" }}
<h1 class="bold-title is-1">{{ .Data.Singular | humanize }}: {{ lower .Title | markdownify }}</h1>
{{ end }}
{{ define "main" }}
<div class="container">
<ul>
{{ range .Pages.ByPublishDate.Reverse }}
{{ if .Date }}
<li>
<a href="{{ .Permalink }}">{{ .Date.Format (.Site.Params.dateFormat | default ":date_medium") }} |
{{ .Title | markdownify }}</a>
</li>
{{ else }}
<li>
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
</li>
{{ end }}
{{ end }}
</ul>
</div>
{{ end }}