grav-theme-learn2
grav-theme-learn2 copied to clipboard
navigation
Navigation on both sides does not work. Should I configure it somewhere?
You mean the prev/next arrows on the page? You need to make sure all pages have:
taxonomy:
category: docs
In the page header. This allows the learn template to know how to navigate. So you should have these on every page you want to be able to go prev/next on.
I had the same problem and adding the taxonomy fixed the navigation. Thanks.
@rhukster Any reason why you did not also simply use pages that extended the docs or chapter template in addition to scanning for taxonomy?
Can this be set sitewide in systems.yaml?
Para que las flechas prev / next de las páginas se puedan ver:
se debe hacer lo siguiente en todas las páginas
- tab "Options" sección "Taxonomies" parámetro "Category" debe estar en "docs"
- tab "Options" sección "Taxonomies" parámetro "Tag" debe estar vacío
- tab "Advanced" parámetro "Page Template" debe estar en "Docs"
De esta manera me funciono.