diff options
author | Alexis Metaireau <alexis@notmyidea.org> | 2017-04-08 13:44:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-08 13:44:58 +0200 |
commit | 88f21b95e3a6dc91c6a344e90ec50afbedc5bdd7 (patch) | |
tree | 6e6c99fab6a0c45ba96bfb501f581b3a71e7917a /new-bootstrap2/templates | |
parent | 5ebcbdac1f43f04a47eb121aa3b5a8ee4ae35da6 (diff) | |
parent | 3a009cc2c24552366b823c69e393029c14fe8758 (diff) | |
download | pelican-themes-88f21b95e3a6dc91c6a344e90ec50afbedc5bdd7.tar.gz |
Merge branch 'master' into bricabractheme
Diffstat (limited to 'new-bootstrap2/templates')
-rw-r--r-- | new-bootstrap2/templates/base.html | 2 | ||||
-rw-r--r-- | new-bootstrap2/templates/index.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/new-bootstrap2/templates/base.html b/new-bootstrap2/templates/base.html index 3d99da2..d45abde 100644 --- a/new-bootstrap2/templates/base.html +++ b/new-bootstrap2/templates/base.html @@ -69,7 +69,7 @@ <li><a href="{{ link }}">{{ title }}</a></li> {% endfor %} {% if DISPLAY_PAGES_ON_MENU %} - {% for gpage in PAGES %} + {% for gpage in pages %} <li {% if page == gpage %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ gpage.url }}">{{ gpage.title }}</a></li> {% endfor %} <li class="divider-vertical"></li> diff --git a/new-bootstrap2/templates/index.html b/new-bootstrap2/templates/index.html index 4d11a80..cbef204 100644 --- a/new-bootstrap2/templates/index.html +++ b/new-bootstrap2/templates/index.html @@ -43,11 +43,11 @@ </div> {# {% else %} - {% if PAGES %} + {% if pages %} <section id="content" class="body"> <h3>Pages</h3> <ul class="nav nav-list"> - {% for page in PAGES %} + {% for page in pages %} <li><div><i class="icon-external-link"></i><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></div></li> {% endfor %} </ul> |