lucachr / pelican-mg

A responsive, minimal theme for Pelican that uses UIkit.
MIT License
59 stars 34 forks source link

lowercase 'PAGES' variable in template #5

Closed egodin closed 7 years ago

egodin commented 7 years ago

Pages index/links were not appearing in the menu for whatever the value for {% if DISPLAY_PAGES_ON_MENU != False %} when the for loop was executed -> {% for p in PAGES %} | for a reason lowercase the variable name PAGES to pages works fine.

egodin commented 7 years ago

it was documented here as well

http://docs.getpelican.com/en/latest/faq.html#since-i-upgraded-pelican-my-pages-are-no-longer-rendered

lucachr commented 7 years ago

Perfect! Thank you for your fix Etienne!