mirror of
https://github.com/naoufalzerai/zerai.xyz.git
synced 2025-11-09 15:05:55 +00:00
12 lines
627 B
HTML
12 lines
627 B
HTML
{{- if and (not (eq .Params.single true)) (or .PrevInSection .NextInSection) -}}
|
|
<section class="article navigation">
|
|
{{- with .NextInSection -}}
|
|
{{- $title := .Title | safeHTML -}}
|
|
{{- if $title -}}<p><a class="link" href="{{- .RelPermalink -}}"><span class="iconfont icon-article"></span>{{- $title -}}</a></p>{{- end -}}
|
|
{{- end -}}
|
|
{{- with .PrevInSection -}}
|
|
{{- $title := .Title | safeHTML -}}
|
|
{{- if $title -}}<p><a class="link" href="{{- .RelPermalink -}}"><span class="iconfont icon-article"></span>{{- .Title | safeHTML -}}</a></p>{{- end -}}
|
|
{{- end -}}
|
|
</section>
|
|
{{- end -}} |