mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-26 13:26:22 +00:00
28 lines
837 B
HTML
28 lines
837 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
{{ partial "head.html" . }}
|
|
|
|
<body>
|
|
{{partial "search.html" .}}
|
|
<div class="singlePage">
|
|
<!-- Begin actual content -->
|
|
{{partial "header.html" .}}
|
|
<article>
|
|
<h1>All {{.Title}}</h1>
|
|
<div class="tags">
|
|
{{ range .Site.Taxonomies.tags.ByCount }}
|
|
<div class="meta">
|
|
<h1><a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a></h1>
|
|
<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>
|