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 %}
@@ -43,7 +43,7 @@
</div> </div>
</div> </div>
<div class="container-fluid"> <div class="container-fluid">
<div class="sidebar"> <div class="sidebar">
<div class="well"> <div class="well">
<h3>Blogroll</h3> <h3>Blogroll</h3>
@@ -70,7 +70,7 @@
<p>&copy; {{ AUTHOR }} 2011</p> <p>&copy; {{ AUTHOR }} 2011</p>
</footer> </footer>
</div> </div>
</div> </div>
</body> </body>
</html> </html>