We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1840c08 commit ba842f5Copy full SHA for ba842f5
layout/_macro/sidebar.swig
@@ -43,7 +43,7 @@
43
{% if config.archive_dir != '/' and site.posts.length > 0 %}
44
<div class="site-state-item site-state-posts">
45
{% if theme.menu.archives %}
46
- <a href="{{ url_for(theme.menu.archives) }}">
+ <a href="{{ url_for(theme.menu.archives).split('||')[0] | trim }}">
47
{% else %}
48
<a href="{{ url_for(config.archive_dir) }}">
49
{% endif %}
0 commit comments