aboutsummaryrefslogtreecommitdiffstats
path: root/mnmlist/templates
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 /mnmlist/templates
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 'mnmlist/templates')
-rw-r--r--mnmlist/templates/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/mnmlist/templates/base.html b/mnmlist/templates/base.html
index ad7f23b..2e45ed7 100644
--- a/mnmlist/templates/base.html
+++ b/mnmlist/templates/base.html
@@ -30,7 +30,7 @@
<nav>
<ul>
{% for page in PAGES %}
- <li><a href="{{ SITEURL }}/pages/{{ page.url }}">{{ page.title }}</a>{% if not loop.last %} ::{% endif %}</li>
+ <li><a href="{{ SITEURL }}{{ page.url }}">{{ page.title }}</a>{% if not loop.last %} ::{% endif %}</li>
{% endfor %}
{% if categories|length > 1 %}
<li>:: <a href="{{ SITEURL }}/categories.html">Catégories</a></li>