aboutsummaryrefslogtreecommitdiffstats
path: root/brownstone
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2012-11-20 15:31:17 -0800
committerAlexis Metaireau <alexis@notmyidea.org>2012-11-20 15:31:17 -0800
commitc3ecf17533a32561e77c023df469cab1c467ffe2 (patch)
tree836153128325b49472111a5158c72423588d3350 /brownstone
parent6e7aad9d3d67229056c6d876384f73a17132718e (diff)
parentba5c5163ae8ba42d54c3b8b49d3045cd691ce37b (diff)
downloadpelican-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.html2
-rw-r--r--brownstone/templates/page.html2
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;">&nbsp;</div>