Welcome to mirror list, hosted at ThFree Co, Russian Federation.

post-footer.html « components « partials « layouts - github.com/wangchucheng/hugo-eureka.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 90db30f55443ab27d59bad4d88b5185a478f1a49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{ if or .PrevInSection .NextInSection }}
<div class="flex flex-col md:flex-row md:justify-between -mx-2 mt-4 px-2 pt-4 border-t">
    <div>
        {{ with .NextInSection }}
        <span class="block font-bold">{{ i18n "previous" }}</span>
        <a href="{{ .Permalink }}" class="block">{{ .LinkTitle }}</a>
        {{ end }}
    </div>
    <div class="md:text-right mt-4 md:mt-0">
        {{ with .PrevInSection }}
        <span class="block font-bold">{{ i18n "next" }}</span>
        <a href="{{ .Permalink }}" class="block">{{ .LinkTitle }}</a>
        {{ end }}
    </div>
</div>
{{ end }}