diff options
author | Julien Lengrand-Lambert <jlengrand@gmail.com> | 2012-09-13 13:03:42 +0200 |
---|---|---|
committer | Julien Lengrand-Lambert <jlengrand@gmail.com> | 2012-09-13 13:03:42 +0200 |
commit | 3ceba838f6c3f1cbab0b363beb5c7ca08abd1383 (patch) | |
tree | be7c3957255b36baa0859107cb5ace67791a1679 /bootstrap | |
parent | 01a8792a5116a305368d9d98fa366923086e0633 (diff) | |
download | pelican-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.html | 6 |
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>© {{ AUTHOR }} 2011</p> </footer> </div> - + </div> </body> </html> |