mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-02 02:59:37 -05:00
ec4e6f9df2
git-subtree-dir: docs git-subtree-split: f887bd7b4e3e7c7e76cd63951e5b0d37d8fe0ac7
16 lines
669 B
HTML
16 lines
669 B
HTML
{{ if or .PrevInSection .NextInSection }}
|
|
{{/* this div holds these a tags as a unit for flex-box display */}}
|
|
<div date-pref>
|
|
{{if .NextInSection}}
|
|
<a href="{{.NextInSection.Permalink }}" class="dib f6 pl1 hover-bg-light-gray br-100" title="{{ .NextInSection.Title }} ">
|
|
{{ partial "svg/ic_chevron_left_black_24px.svg" (dict "fill" "#0594CB" "size" "30px") }}
|
|
</a>
|
|
{{end}}
|
|
|
|
{{if .PrevInSection}}
|
|
<a href="{{ .PrevInSection.Permalink }}" class="dib f6 pr1 hover-bg-light-gray br-100" title="{{ .PrevInSection.Title }}">
|
|
{{ partial "svg/ic_chevron_right_black_24px.svg" (dict "fill" "#0594CB" "size" "30px") }}
|
|
</a>
|
|
{{end}}
|
|
</div>
|
|
{{ end }}
|