Welcome to mirror list, hosted at ThFree Co, Russian Federation.

taxonomy.html « _default « layouts - github.com/4ever9/less.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1d20ddd8d3b5ecbda1b7bff9301f2593acad3329 (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
{{ define "main" }}
    <div class="container">
        <div class="main">
            <div class="taxonomy-name">
                #{{.Name}}(共{{ len .Data.Pages }}篇)
            </div>
            {{ range (.RegularPages.GroupByDate "2006") }}
                <div class="posts">
                    <div class="year">{{ .Key }}</div>
                    {{ range .Pages }}
                        <div class="post">
                            <a class="post-title" href="{{.Permalink}}">
                                {{.Title}}
                            </a>
                            <span class="post-date">
                                {{ .Date.Format "Jan 02" }}
                            </span>
                        </div>
                    {{ end }}
                </div>
            {{ end }}
        </div>
    </div>
{{ end }}