aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorJulien Lengrand-Lambert <jlengrand@gmail.com>2012-09-13 13:03:42 +0200
committerJulien Lengrand-Lambert <jlengrand@gmail.com>2012-09-13 13:03:42 +0200
commit3ceba838f6c3f1cbab0b363beb5c7ca08abd1383 (patch)
treebe7c3957255b36baa0859107cb5ace67791a1679 /bootstrap
parent01a8792a5116a305368d9d98fa366923086e0633 (diff)
downloadpelican-themes-3ceba838f6c3f1cbab0b363beb5c7ca08abd1383.zip
pelican-themes-3ceba838f6c3f1cbab0b363beb5c7ca08abd1383.tar.gz
pelican-themes-3ceba838f6c3f1cbab0b363beb5c7ca08abd1383.tar.bz2
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
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/templates/base.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap/templates/base.html b/bootstrap/templates/base.html
index 9458d6e..49fbd7d 100644
--- a/bootstrap/templates/base.html
+++ b/bootstrap/templates/base.html
@@ -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 %}
@@ -43,7 +43,7 @@
</div>
</div>
- <div class="container-fluid">
+ <div class="container-fluid">
<div class="sidebar">
<div class="well">
<h3>Blogroll</h3>
@@ -70,7 +70,7 @@
<p>&copy; {{ AUTHOR }} 2011</p>
</footer>
</div>
-
+
</div>
</body>
</html>