From fddfaa07b85d470d0ea00ceeb2892187ba038e75 Mon Sep 17 00:00:00 2001
From: Alan Pearce
Date: Sat, 8 Jul 2023 09:27:00 +0200
Subject: Remove unnecessary quoting of menu item URLs
---
themes/bear/templates/nav.html | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
(limited to 'themes/bear')
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 @@
Home
{%- if config.extra.main_menu %}
{%- for item in config.extra.main_menu %}
- {%- if item.url is matching("https?://") %}
- {{ item.name }}
- {%- else %}
- {{ item.name }}
- {%- endif %}
+ {{ item.name }}
{%- endfor %}
{%- endif -%}
--
cgit 1.4.1