diff options
Diffstat (limited to 'themes/bear/templates/nav.html')
-rw-r--r-- | themes/bear/templates/nav.html | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/themes/bear/templates/nav.html b/themes/bear/templates/nav.html index 579661e..fe5fdd6 100644 --- a/themes/bear/templates/nav.html +++ b/themes/bear/templates/nav.html @@ -1,10 +1,6 @@ <a href="/">Home</a> {%- if config.extra.main_menu %} {%- for item in config.extra.main_menu %} - {%- if item.url is matching("https?://") %} - <a href="{{ item.url | safe }}">{{ item.name }}</a> - {%- else %} - <a href="{{ item.url }}">{{ item.name }}</a> - {%- endif %} + <a href="{{ item.url | safe }}">{{ item.name }}</a> {%- endfor %} {%- endif -%} |