aboutsummaryrefslogtreecommitdiffstats
path: root/Just-Read/templates/base.html
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 /Just-Read/templates/base.html
parent01a8792a5116a305368d9d98fa366923086e0633 (diff)
downloadpelican-themes-d4c5432d304a4a6cf1739337466929f4e553f7a9.tar.gz
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 'Just-Read/templates/base.html')
-rw-r--r--Just-Read/templates/base.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/Just-Read/templates/base.html b/Just-Read/templates/base.html
index 96511ad..a768618 100644
--- a/Just-Read/templates/base.html
+++ b/Just-Read/templates/base.html
@@ -40,7 +40,7 @@
<div class="wrapper pages">
<ul class="nav">
{% for p in PAGES %}
- <li><a href="{{ SITEURL }}/pages/{{ p.url }}">{{ p.title }}</a></li>
+ <li><a href="{{ SITEURL }}{{ p.url }}">{{ p.title }}</a></li>
{% endfor %}
<li><a href="{{ SITEURL }}/archives.html">Archive</a></li>
</ul>
@@ -65,4 +65,4 @@
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
</body>
-</html> \ No newline at end of file
+</html>