Fixes bad link creation for static pages in the bootstrap theme.

In the bootstrap theme, the link was created with a "page" too much, linking once html once generated to
localhost:8000/pages/pages/test.html instead of localhost:8000/pages/test.html
This commit is contained in:
Julien Lengrand-Lambert
2012-09-13 13:03:42 +02:00
parent 01a8792a51
commit 3ceba838f6

View File

@@ -31,7 +31,7 @@
{% endfor %} {% endfor %}
{% if DISPLAY_PAGES_ON_MENU %} {% if DISPLAY_PAGES_ON_MENU %}
{% for page in PAGES %} {% for page in PAGES %}
<li><a href="{{ SITEURL }}/pages/{{ page.url }}">{{ page.title }}</a></li> <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% for cat, null in categories %} {% for cat, null in categories %}