aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index ad0d413..f0a781e 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -42,7 +42,10 @@
<ul class="sidebar-nav">
{% block sidebar_nav %}
{% for link in config.extra.hyde_links %}
- <li class="sidebar-nav-item"><a href="{{link.url}}">{{link.name}}</a></li>
+ <!-- johannst START | add replace $BASE_URL -->
+ {% set link_url = link.url | replace(from="$BASE_URL", to=config.base_url) %}
+ <li class="sidebar-nav-item"><a href="{{link_url}}">{{link.name}}</a></li>
+ <!-- johannst END -->
{% endfor %}
{% endblock sidebar_nav %}
</ul>