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:
@@ -16,7 +16,7 @@
|
|||||||
<ul class="sidebar-nav">
|
<ul class="sidebar-nav">
|
||||||
{% if MENUITEMS %}
|
{% if MENUITEMS %}
|
||||||
{% for title, url in MENUITEMS %}
|
{% for title, url in MENUITEMS %}
|
||||||
<li><a href="{{ SITEURL }}/{{ url }}">{{ title }}</a></li>
|
<li><a href="{{ url }}">{{ title }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if DISPLAY_PAGES_ON_MENU %}
|
{% if DISPLAY_PAGES_ON_MENU %}
|
||||||
|
|||||||
Reference in New Issue
Block a user