aboutsummaryrefslogtreecommitdiffstats
path: root/notmyidea-cms
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 /notmyidea-cms
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 'notmyidea-cms')
-rw-r--r--notmyidea-cms/templates/base.html2
-rw-r--r--notmyidea-cms/templates/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/notmyidea-cms/templates/base.html b/notmyidea-cms/templates/base.html
index 02833f6..3ec41e1 100644
--- a/notmyidea-cms/templates/base.html
+++ b/notmyidea-cms/templates/base.html
@@ -33,7 +33,7 @@
{% if DISPLAY_PAGES_ON_MENU != False %}
<li><a href="{{ SITEURL }}/index.html">Home</a></li>
{% for p in PAGES %}
- <li {% if p == page %}class="active"{% endif %}><a href="{{ SITEURL }}/pages/{{ p.url }}">{{ p.title }}</a></li>
+ <li {% if p == page %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
{% endfor %}
{% endif %}
{#{% for cat, null in categories %}
diff --git a/notmyidea-cms/templates/index.html b/notmyidea-cms/templates/index.html
index f8e2b2a..1e4bad3 100644
--- a/notmyidea-cms/templates/index.html
+++ b/notmyidea-cms/templates/index.html
@@ -36,7 +36,7 @@
<section id="content" class="body">
<h2>Pages</h2>
{% 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 %}
</section>
{% endif %}