diff options
author | Alexis Metaireau <alexis@notmyidea.org> | 2012-11-20 15:31:17 -0800 |
---|---|---|
committer | Alexis Metaireau <alexis@notmyidea.org> | 2012-11-20 15:31:17 -0800 |
commit | c3ecf17533a32561e77c023df469cab1c467ffe2 (patch) | |
tree | 836153128325b49472111a5158c72423588d3350 /brownstone | |
parent | 6e7aad9d3d67229056c6d876384f73a17132718e (diff) | |
parent | ba5c5163ae8ba42d54c3b8b49d3045cd691ce37b (diff) | |
download | pelican-themes-c3ecf17533a32561e77c023df469cab1c467ffe2.tar.gz |
Merge pull request #49 from mmv/master
Fix worng url for "pages" on most templates.
Diffstat (limited to 'brownstone')
-rw-r--r-- | brownstone/templates/base.html | 2 | ||||
-rw-r--r-- | brownstone/templates/page.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/brownstone/templates/base.html b/brownstone/templates/base.html index 1da0c60..c1bb31d 100644 --- a/brownstone/templates/base.html +++ b/brownstone/templates/base.html @@ -40,7 +40,7 @@ Released : 20100928 <li><a href="{{ SITEURL }}/archives.html">Archives</a></li> {% 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 %} </ul> diff --git a/brownstone/templates/page.html b/brownstone/templates/page.html index 6181ea9..58bbd7a 100644 --- a/brownstone/templates/page.html +++ b/brownstone/templates/page.html @@ -3,7 +3,7 @@ {% block content %} <div id="content"> <div class="post"> - <h2 class="title"><a href="{{ SITEURL }}/pages/{{ page.url }}">{{ page.title }}</a></h1> + <h2 class="title"><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></h1> {% if PDF_PROCESSOR %}<a href="{{ SITEURL }}/pdf/{{ page.slug }}.pdf">get the pdf</a>{% endif %} <div style="clear: both;"> </div> |