summaryrefslogtreecommitdiff
path: root/layouts/archive.html
blob: 3af7c9ce832413108f9d9ea49dec89f052b361c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{{ define "main" }}
<article>
    {{ partial "header" . }}
    {{ partial "home/home-nav" . }}
    <div class="post-content text-size-lg">
        <ol class="mx-0 my-4 p-0 leading-loose flex flex-col-reverse">
            {{ range (.Site.RegularPages | collections.Reverse) }}
            {{ if eq .Language .Site.Language }}
            <li class="list-decimal text-secondary">
                <div class="flex justify-between">
                    <a href="{{ .Permalink }}">{{ .LinkTitle }}</a>
                    <a href="/{{ .Section }}" class="font-mono text-secondary">{{ .Section }}</a>
                </div>
            </li>
            {{ end }}
            {{ end }}
        </ol>
    </div>
</article>
{{ partial "footer.html" . }}
{{ end }}