mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 08:22:40 +00:00
Merge pull request #5 from egodin/patch-1
Pages were available to themes as lowercase pages and uppercase PAGES. PAGES has been removed in new versions of Pelican.
This commit is contained in:
commit
b38328526e
@ -104,7 +104,7 @@
|
||||
{% if DISPLAY_PAGES_ON_MENU != False %}
|
||||
<li class="uk-nav-header">Pages</li>
|
||||
|
||||
{% for p in PAGES %}
|
||||
{% for p in pages %}
|
||||
<li {% if p == page %}class="uk-active"{% endif %}>
|
||||
<a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a>
|
||||
</li>
|
||||
@ -179,7 +179,7 @@
|
||||
{% endfor %}
|
||||
{% if DISPLAY_PAGES_ON_MENU != False %}
|
||||
<li class="uk-nav-header">Pages</li>
|
||||
{% for p in PAGES %}
|
||||
{% for p in pages %}
|
||||
<li {% if p == page %}class="uk-active"{% endif %}>
|
||||
<a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a>
|
||||
</li>
|
||||
|
Loading…
Reference in New Issue
Block a user