about summary refs log tree commit diff
path: root/layouts/_default/list.old.html
blob: 33bd8b5ae34db1d402a47cf3bd54862c8909245d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{{ define "main" }}
    <div class="index-content">
        {{ .Content }}
    </div>

    <div class="articles h-feed">
        <h1 class="post-title">{{ i18n .Title }}</h1>
        {{ if not .Params.no_feed }}
        {{ 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 "post-info.html" . }}
            </div>
        {{ end }}
        {{ end}}
    </div>

{{ end }}