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: 9655e8e39adf572efbded5c6d4bc073b83ea7a2b (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
{{ partial "header.html" . }}

<div class="container">
    <div class="row">
        <div class="column is-md-8 is-offset-2 main">
            {{ $paginator := .Paginate (where .Site.RegularPages "Section" "posts") }}
            {{ range $paginator.Pages }}
            <div class="post">
                <div class="post-left">
                <span class="post-date">
                {{ .Date.Format "01-02" }}
                </span>
                </div>
                <div class="post-right">
                    <a class="post-title" href="{{.Permalink}}">
                        {{.Title}}
                    </a>
                    <div class="post-summary">
                        {{.Summary}}
                    </div>
                </div>
            </div>
            {{ end }}
        </div>
    </div>
</div>

{{ partial "footer.html" . }}