Fix MENUITEMS urls
Looking at the pelican default themes (and others), we can see that menuitems are expected to be full URLs, not URLs relative to the SITEURL.
This commit is contained in:
1 parent
8bd6ec8a59
commit
3a92d3de28
1 file changed
+1
-1
@@ -16,7 +16,7 @@
|
||||
<ul class="sidebar-nav">
|
||||
{% if MENUITEMS %}
|
||||
{% for title, url in MENUITEMS %}
|
||||
<li><a href="{{ SITEURL }}/{{ url }}">{{ title }}</a></li>
|
||||
<li><a href="{{ url }}">{{ title }}</a></li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if DISPLAY_PAGES_ON_MENU %}
|
||||
|
||||
Reference in new issue
Block a user