~huyngo/xrvs.net

xrvs.net/layouts/_default/list.html -rw-r--r-- 707 bytes
e42975c2Ngô Ngọc Đức Huy Update social link 13 days ago
                                                                                
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 }}