about summary refs log tree commit diff stats
path: root/themes/bear/templates/nav.html
diff options
context:
space:
mode:
authorAlan Pearce2023-07-06 20:31:08 +0200
committerAlan Pearce2023-07-06 20:31:08 +0200
commit8ab05aa7c96bfb59ea6e50e0dfc6848a37e47447 (patch)
tree85ff9d3644cbe9e38c745ca5d22180aa94d39827 /themes/bear/templates/nav.html
parent7b9d6622a4dd97075e8334f75dff9661e87e75ff (diff)
downloadwebsite-8ab05aa7c96bfb59ea6e50e0dfc6848a37e47447.tar.lz
website-8ab05aa7c96bfb59ea6e50e0dfc6848a37e47447.tar.zst
website-8ab05aa7c96bfb59ea6e50e0dfc6848a37e47447.zip
Use relative URLs in HTML
Diffstat (limited to 'themes/bear/templates/nav.html')
-rw-r--r--themes/bear/templates/nav.html4
1 files changed, 2 insertions, 2 deletions
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 @@
-  <a href="{{ config.base_url | safe }}">Home</a>
+  <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="{{ get_url(path=item.url) }}">{{ item.name }}</a>
+      <a href="{{ item.url }}">{{ item.name }}</a>
     {%- endif %}
   {%- endfor %}
 {%- endif -%}