blob: dce2ed400ee2a31834b3a9cac4decdcb23c3b926 (
plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
<!-- tags page -->
{{ partial "header.html" . }}
<div id="main">
<div id="content">
<div>
<article role="article">
<header>
<h1 class="entry-title">
{{ .Data.Singular | title }}: {{ .Title }}
</h1>
</header>
<div id="blog-archives" class="category">
{{ range .Data.Pages }}
<h2>
{{ .Date | dateFormat "2006"}}
</h2>
<article>
<h1>
<a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a>
</h1>
<time>
<span class="month">{{ .Date | dateFormat "Jan" }}</span>
<span class="day">{{ .Date | dateFormat "2" }}</span>
</time>
<footer>
<span class="categories"> <!-- show categories and tags -->
{{ $.Scratch.Set "cats" .Params.categories }}
{{ with .Params.categories }}
posted in:
{{ range ($.Scratch.Get "cats") }} <a class="category" href="{{ "/categories/" | absURL }}{{ . | urlize | lower }}">{{ . }}</a>{{ end }}
</br>
{{ end }}
{{ $.Scratch.Set "tags" .Params.tags }}
{{ with .Params.tags }}
tags:
{{ range ($.Scratch.Get "tags") }} <a class="category" href="{{ "/tags/" | absURL }}{{ . | urlize | lower }}">{{ . }}</a>{{ end }}
{{ end }}
</span>
</footer>
</article>
{{ end }}
</div>
</article>
</div>
{{ partial "sidebar.html" . }}
</div>
</div>
{{ partial "footer.html" . }}
|