Merge branch 'main' into gdpr-consent
This commit is contained in:
commit
244147ae05
1 changed files with 5 additions and 1 deletions
|
@ -3,7 +3,11 @@
|
||||||
{{ $nextPage := "" }}
|
{{ $nextPage := "" }}
|
||||||
|
|
||||||
<!-- List all the pages. It uses the sidebar menu to discover the page order. -->
|
<!-- List all the pages. It uses the sidebar menu to discover the page order. -->
|
||||||
{{ $pages := partial "helpers/get-pages.html" site.Menus.sidebar }}
|
{{ $pages := slice }}
|
||||||
|
|
||||||
|
{{ if isset site "Menus" }}
|
||||||
|
{{ $pages = partial "helpers/get-pages.html" site.Menus.sidebar }}
|
||||||
|
{{ 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. -->
|
||||||
{{ $idx := 0 }}
|
{{ $idx := 0 }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue