quartz-research-note/layouts/_default/taxonomy.html

32 lines
929 B
HTML
Raw Normal View History

2021-12-28 00:35:42 +00:00
<!DOCTYPE html>
<html lang="en">
{{ partial "head.html" . }}
<body>
{{partial "search.html" .}}
<div class="singlePage">
<!-- Begin actual content -->
2022-07-13 21:32:32 +00:00
{{partial "header.html" .}}
2021-12-28 00:35:42 +00:00
<article>
<h1>All {{.Title}}</h1>
{{with .Params.description}}
<p>{{.}}</p>
{{end}}
2021-12-28 00:35:42 +00: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> notes with this tag {{if gt .Count 10}}(showing first 10 results){{end}}</p>
2021-12-28 00:35:42 +00:00
</div>
{{ with ($.Site.GetPage (printf "/tags/%s" .Page.Title)) }}
{{partial "page-list.html" (first 10 .Pages.ByLastmod.Reverse)}}
2021-12-28 00:35:42 +00:00
{{ end }}
{{ end }}
</div>
</article>
{{partial "contact.html" .}}
</div>
</body>
</html>