about summary refs log tree commit diff stats
path: root/themes/bear/templates/nav.html
diff options
context:
space:
mode:
authorAlan Pearce2023-06-23 14:01:14 +0200
committerAlan Pearce2023-06-23 14:04:53 +0200
commit805b34faf0bbdaf135e16072b8dd9153a24368ad (patch)
treee4fe3dfe9c77cb653d03170d6e5f137fcdb96a81 /themes/bear/templates/nav.html
parentfe119b75f2b3f8f3ba8c2367c3ec768538edc695 (diff)
downloadwebsite-805b34faf0bbdaf135e16072b8dd9153a24368ad.tar.lz
website-805b34faf0bbdaf135e16072b8dd9153a24368ad.tar.zst
website-805b34faf0bbdaf135e16072b8dd9153a24368ad.zip
Fix overzealous URL encoding
Diffstat (limited to 'themes/bear/templates/nav.html')
-rw-r--r--themes/bear/templates/nav.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/bear/templates/nav.html b/themes/bear/templates/nav.html
index e006ab1..cf0d9b7 100644
--- a/themes/bear/templates/nav.html
+++ b/themes/bear/templates/nav.html
@@ -1,10 +1,10 @@
-<a href="{{ config.base_url }}">Home</a>
+<a href="{{ config.base_url | safe }}">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>
+      <a href="{{ item.url | safe }}">{{ item.name }}</a>
     {%- else %}
-      <a href="{{ get_url(path=item.url )}}">{{ item.name }}</a>
+      <a href="{{ get_url(path=item.url) }}">{{ item.name }}</a>
     {%- endif %}
   {%- endfor %}
 {%- endif -%}