blob: d5f71f97cb1e073b00fa59cdfceb81abb8bc43cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{{ if or .PrevInSection .NextInSection }}
<nav id="article-nav">
{{ if .PrevInSection }}
<a href="{{ .PrevInSection.Permalink }}" id="article-nav-older" class="article-nav-link-wrap">
<strong class="article-nav-caption">
{{with .Site.Data.l10n.articles.linked_posts.older}}{{.}}{{end}}
</strong>
<div class="article-nav-title">{{ .PrevInSection.Title }}</div>
</a>
{{ end }}
{{ if .NextInSection }}
<a href="{{ .NextInSection.Permalink }}" id="article-nav-newer" class="article-nav-link-wrap">
<strong class="article-nav-caption">
{{with .Site.Data.l10n.articles.linked_posts.newer}}{{.}}{{end}}
</strong>
<div class="article-nav-title">{{ .NextInSection.Title }}</div>
</a>
{{ end }}
</nav>
{{ end }}
|