diff options
Diffstat (limited to 'layouts/partials/next-prev-page.html')
-rw-r--r-- | layouts/partials/next-prev-page.html | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/layouts/partials/next-prev-page.html b/layouts/partials/next-prev-page.html index 5a84b3a..ae0f548 100644 --- a/layouts/partials/next-prev-page.html +++ b/layouts/partials/next-prev-page.html @@ -36,13 +36,12 @@ {{- end -}} <div class="d-flex justify-content-center"> - {{- if not $.Site.Params.disableNavChevron -}} - {{- with ($.Scratch.Get "prevPage") -}} - <a class="p-1 mr-3 d-inline-block text-white" href="{{.RelPermalink}}" title="{{.Title}}"><i class="fas fa-chevron-left p-1"></i>{{.Title}}</a> - {{ end -}} - {{- with ($.Scratch.Get "nextPage") -}} - <a class="p-1 ml-3 d-inline-block text-white text-right" href="{{.RelPermalink}}" title="{{.Title}}">{{.Title}}<i class="fas fa-chevron-right p-1"></i></a> - {{- end }} - {{- end -}} + {{- with ($.Scratch.Get "prevPage") -}} + <a class="p-1 mr-3 d-inline-block text-white" href="{{.RelPermalink}}" title="{{.Title}}"><i class="fas fa-chevron-left p-1"></i>{{.Title}}</a> + {{ end -}} + {{- with ($.Scratch.Get "nextPage") -}} + <a class="p-1 ml-3 d-inline-block text-white text-right" href="{{.RelPermalink}}" title="{{.Title}}">{{.Title}}<i class="fas fa-chevron-right p-1"></i></a> + {{- end }} </div> </div> + |