summary refs log tree commit diff stats
path: root/templates/nav.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/nav.html')
-rw-r--r--templates/nav.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/nav.html b/templates/nav.html
index 135e407..b0cf643 100644
--- a/templates/nav.html
+++ b/templates/nav.html
@@ -1,6 +1,10 @@
 <a href="{{ config.base_url }}">Home</a>
 {%- if config.extra.main_menu %}
 {%- for item in config.extra.main_menu %}
+{%- if item.url is matching("https?://") %}
+<a href="{{ item.url }}">{{ item.name }}</a>
+{%- else %}
 <a href="{{ get_url(path=item.url )}}">{{ item.name }}</a>
+{%- endif %}
 {%- endfor %}
 {%- endif %}