🐛 fix overriding issue

Signed-off-by: jbleduigou <jb.leduigou@gmail.com>
This commit is contained in:
jbleduigou 2021-06-18 21:01:44 +02:00
parent 6ad8ab8479
commit ced71e51ec

View file

@ -6,7 +6,7 @@
{{ $pages := slice }} {{ $pages := slice }}
{{ if isset site "Menus" }} {{ if isset site "Menus" }}
{{ $pages := partial "helpers/get-pages.html" site.Menus.sidebar }} {{ $pages = partial "helpers/get-pages.html" site.Menus.sidebar }}
{{ end }} {{ end }}
<!-- Now, find the current page index in the pages list. Then, find previous page and next page. --> <!-- Now, find the current page index in the pages list. Then, find previous page and next page. -->