about summary refs log tree commit diff
path: root/layouts/_default/list.html
blob: 59eb5376df4480b418dcbe4c3234dfab401089ad (plain) (blame)
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="index-content">
        {{ .Content }}
    </div>

    <div class="articles h-feed">
        <h1 class="post-title">{{ i18n .Title }}</h1>
        {{ if .Params.no_feed }}
        {{ else}}
        {{ range .Page.CurrentSection.Pages }}
            <div class="post-short-list h-entry">
                <header class="post-header"> 
                    <h2 class="p-name post-title{{ if .Params.favorite }} favorite{{end}}{{ if .Params.draft }} draft{{end}}"><a class="u-url" href="{{ .RelPermalink }}">{{ trim .Title " " }}</a></h2>
                </header>
                {{ partial "postInfo.html" . }}
            </div>
        {{ end }}
        {{ end}}
    </div>

{{ end }}