aboutsummaryrefslogtreecommitdiffstats
path: root/waterspill
diff options
context:
space:
mode:
authorMiguel Ventura <miguel.ventura@gmail.com>2012-09-03 00:39:05 +0100
committerMiguel Ventura <miguel.ventura@gmail.com>2012-09-03 00:39:05 +0100
commitd4c5432d304a4a6cf1739337466929f4e553f7a9 (patch)
tree258c8f7383e1959a2973b0adefff2b9286fa6d48 /waterspill
parent01a8792a5116a305368d9d98fa366923086e0633 (diff)
downloadpelican-themes-d4c5432d304a4a6cf1739337466929f4e553f7a9.zip
pelican-themes-d4c5432d304a4a6cf1739337466929f4e553f7a9.tar.gz
pelican-themes-d4c5432d304a4a6cf1739337466929f4e553f7a9.tar.bz2
Page objects for PAGES already contain the proper `url` attribute.
Having the templates with /pages/ causes the generated links to be wrong.
Diffstat (limited to 'waterspill')
-rw-r--r--waterspill/templates/base.html2
-rw-r--r--waterspill/templates/page.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/waterspill/templates/base.html b/waterspill/templates/base.html
index 1f9049d..1f72a5c 100644
--- a/waterspill/templates/base.html
+++ b/waterspill/templates/base.html
@@ -46,7 +46,7 @@
<h3>Pages</h3>
<ul>
{% 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 %}
</ul>
{% endif %}
diff --git a/waterspill/templates/page.html b/waterspill/templates/page.html
index f9a091a..8f2f691 100644
--- a/waterspill/templates/page.html
+++ b/waterspill/templates/page.html
@@ -3,7 +3,7 @@
{% block content %}
<div class="blogItem">
- <h2><a href="{{ SITEURL }}/pages/{{ page.url }}">{{ page.title }}</a></h3>
+ <h2><a href="{{ SITEURL }}{{ page.url }}">{{ page.title }}</a></h3>
{{ page.content }}
{% include 'twitter.html' %}