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

index.html « layouts - github.com/4ever9/less.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 70a8a619defb1e34fa75bdec153e0955b966e6ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{{ define "main" }}
    <div class="container">
        <div class="main">
            {{ range (.Site.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 }}