blog/layouts/taxonomy/terms.html.html

19 lines
620 B
HTML
Raw Permalink Normal View History

2023-04-17 15:54:12 +00:00
{{ define "main" }}
<main class="main">
{{ partial "breadcrumb.html" . }}
{{- if or .Title .Content }}
<div class="page block">
{{ with .Title }}<h1 class="page__title">{{ . }}</h1>{{ end }}
{{ with .Content }}<div class="page__content{{ if not $.Title }} page__content--notitle{{ end }}">{{ . }}</div>{{ end }}
</div>
{{- end }}
<div class="page block">
{{ range .Pages }}
<li class="breadcrumb">
<a href="{{ .Permalink }}">{{ .Name }}</a> <small>(<a href="{{ .Permalink }}atom.xml">ATOM</a>, <a href="{{ .Permalink }}rss.xml">RSS</a>)</small>
</li>
{{ end }}
</div>
</main>
{{ end }}