Jacky Zhao
2022-07-14 b2555ced61628008e9a1321921376c3f9fb53791
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!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>
        {{with .Params.description}}
            <p>{{.}}</p>
        {{end}}
        <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>
            </div>
            {{ with ($.Site.GetPage (printf "/tags/%s" .Page.Title)) }}
            {{partial "page-list.html" (first 10 .Pages.ByLastmod.Reverse)}}
            {{ end }}
            {{ end }}
        </div>
    </article>
    {{partial "contact.html" .}}
</div>
</body>
 
</html>