Fix navbar on year pages

This commit is contained in:
2020-03-04 09:14:26 +00:00
parent 7b0082f7b9
commit 799d7c1ca9
2 changed files with 16 additions and 1 deletions

View File

@@ -23,7 +23,11 @@
</div>
{% endif %}
<div class="mdc-list-group">
<h3 class="mdc-list-group__subheader">{{ currentdate }}</h3>
<h3 class="mdc-list-group__subheader">
<a class="mdc-list-item year" href="/{{ currentdate }}" data-mdc-auto-init="MDCRipple">
<span class="mdc-list-item__text">{{ currentdate }}</span>
</a>
</h3>
{% assign date = currentdate %}
{% endif %}
<a class="mdc-list-item" href="{{ article.url | relative_url }}" data-mdc-auto-init="MDCRipple">