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: 4e880fcc39348e71543082543a1473da2e3214b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{{ define "main" }}
    <div class="container">
        <div class="row">
            <div class="column 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>
    </div>
{{ end }}