aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/index.html
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2021-05-12 01:06:12 +0200
committerjohannst <johannes.stoelp@gmail.com>2021-05-12 01:06:12 +0200
commit475bb60b51b362ba281fb84ff34375070b260cbb (patch)
tree88f0e0cb164f9e5b2ba713e0133f5ebb033357ab /templates/index.html
parent8e6654ddc8a5801ac5c73488e45635e15b575774 (diff)
downloadblog-475bb60b51b362ba281fb84ff34375070b260cbb.tar.gz
blog-475bb60b51b362ba281fb84ff34375070b260cbb.zip
added link to tags
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>