Skip to content

Commit ba842f5

Browse files
authored
FIX: link to archives with icons was't work.
Issue #1836.
1 parent 1840c08 commit ba842f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layout/_macro/sidebar.swig

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
{% if config.archive_dir != '/' and site.posts.length > 0 %}
4444
<div class="site-state-item site-state-posts">
4545
{% if theme.menu.archives %}
46-
<a href="{{ url_for(theme.menu.archives) }}">
46+
<a href="{{ url_for(theme.menu.archives).split('||')[0] | trim }}">
4747
{% else %}
4848
<a href="{{ url_for(config.archive_dir) }}">
4949
{% endif %}

0 commit comments

Comments
 (0)