Page objects for PAGES already contain the proper url attribute.
Having the templates with /pages/ causes the generated links to be wrong.
This commit is contained in:
@@ -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>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user