Skip to content

Commit

Permalink
Fixes bad link creation for static pages in the bootstrap theme.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jlengrand committed Sep 13, 2012
1 parent 01a8792 commit 3ceba83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bootstrap/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
{% endfor %}
{% if DISPLAY_PAGES_ON_MENU %}
{% 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 %}
{% endif %}
{% for cat, null in categories %}
Expand All @@ -43,7 +43,7 @@
</div>
</div>

<div class="container-fluid">
<div class="container-fluid">
<div class="sidebar">
<div class="well">
<h3>Blogroll</h3>
Expand All @@ -70,7 +70,7 @@ <h3>Social</h3>
<p>&copy; {{ AUTHOR }} 2011</p>
</footer>
</div>

</div>
</body>
</html>

0 comments on commit 3ceba83

Please sign in to comment.