blog/themes/farallon/layouts/_default/taxonomy.html

18 lines
429 B
HTML
Raw Normal View History

2024-05-06 12:00:46 +08:00
{{ define "main" }}
<header class="archive-header">
<h1 class="post-title">{{.Title}}</h1>
{{ if .Params.description }}
<div class="taxonomy--description">{{ .Params.description }}</div>
{{ end }}
</header>
<div class="site--main">
{{ range .Data.Pages }}
2024-05-06 16:34:08 +08:00
{{ if eq .Type "memo" }}
{{ partial "memo.html" . }}
2024-05-06 12:00:46 +08:00
{{ else }}
{{ partial "post.html" . }}
{{ end }}
{{ end }}
</div>
{{ end }}