mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-14 12:25:58 -06:00
28 lines
683 B
HTML
28 lines
683 B
HTML
{{ define "main" }}
|
|
<h1>
|
|
{{ if eq .Data.Singular "tag" }}
|
|
{{ partial "icon.html" "tag" }}
|
|
{{ else }}
|
|
{{ partial "icon.html" "filter" }}
|
|
{{ end }}
|
|
|
|
{{ .Title | markdownify }}
|
|
</h1>
|
|
|
|
<div class="taxonomy">
|
|
{{ with .Data.Terms.Alphabetical }}
|
|
<ul>
|
|
{{ range . }}
|
|
<li>
|
|
<a href="{{ .Page.Permalink }}">{{ .Page.Title | markdownify }}</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ else }}
|
|
<div>
|
|
{{ i18n "no_posts" }}
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|