From 8ab05aa7c96bfb59ea6e50e0dfc6848a37e47447 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 6 Jul 2023 20:31:08 +0200 Subject: Use relative URLs in HTML --- themes/bear/templates/nav.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'themes/bear/templates/nav.html') diff --git a/themes/bear/templates/nav.html b/themes/bear/templates/nav.html index ba41879..579661e 100644 --- a/themes/bear/templates/nav.html +++ b/themes/bear/templates/nav.html @@ -1,10 +1,10 @@ - Home + Home {%- if config.extra.main_menu %} {%- for item in config.extra.main_menu %} {%- if item.url is matching("https?://") %} {{ item.name }} {%- else %} - {{ item.name }} + {{ item.name }} {%- endif %} {%- endfor %} {%- endif -%} -- cgit 1.4.1