rizaldy.club/layouts/_default/taxonomy.html

29 lines
837 B
HTML
Raw Normal View History

2021-12-28 07:35:42 +07:00
<!DOCTYPE html>
<html lang="en">
{{ partial "head.html" . }}
<body>
{{partial "search.html" .}}
<div class="singlePage">
<!-- Begin actual content -->
2022-07-14 04:32:32 +07:00
{{partial "header.html" .}}
2021-12-28 07:35:42 +07:00
<article>
<h1>All {{.Title}}</h1>
<div class="tags">
{{ range .Site.Taxonomies.tags.ByCount }}
<div class="meta">
2022-01-04 01:18:31 +07:00
<h1><a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a></h1>
2021-12-28 07:35:42 +07:00
<p><b>{{ .Count }}</b> notes with this tag {{if gt .Count 2}}(showing first 2 results){{end}}</p>
</div>
{{ with ($.Site.GetPage (printf "/tags/%s" .Page.Title)) }}
{{partial "page-list.html" (first 2 .Pages.ByLastmod.Reverse)}}
{{ end }}
{{ end }}
</div>
</article>
{{partial "contact.html" .}}
</div>
</body>
</html>