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: 7e94c2de48fc8a91462e12fb068b69ccd7c1f8ae (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 }}