quartz/layouts/_default/taxonomy.html

31 lines
948 B
HTML
Raw Permalink Normal View History

2021-12-28 03:35:42 +03:00
<!DOCTYPE html>
<html lang="{{ .Lang }}">
2021-12-28 03:35:42 +03:00
{{ partial "head.html" . }}
<body>
{{partial "search.html" .}}
<div class="singlePage">
<!-- Begin actual content -->
2022-07-14 00:32:32 +03:00
{{partial "header.html" .}}
2021-12-28 03:35:42 +03:00
<article>
<h1>{{ i18n "all_posts" . }}</h1>
{{with .Params.description}}
<p>{{.}}</p>
{{end}}
2021-12-28 03:35:42 +03:00
<div class="tags">
{{ range .Site.Taxonomies.tags.ByCount }}
<div class="meta">
<h1><a href="{{ .Page.Permalink }}">{{ .Page.Title | humanize }}</a></h1>
<p><b>{{ .Count }}</b> {{ i18n "notes_count" }} {{if gt .Count 10}}({{ i18n "first_10"}}){{end}}</p>
2021-12-28 03:35:42 +03:00
</div>
{{ with ($.Site.GetPage (printf "/tags/%s" .Page.Title)) }}
{{partial "page-list.html" (first 10 .Pages.ByLastmod.Reverse)}}
2021-12-28 03:35:42 +03:00
{{ end }}
{{ end }}
</div>
</article>
{{partial "contact.html" .}}
</div>
</body>
</html>