This commit is contained in:
2020-12-29 00:32:47 +00:00
parent bef504f144
commit 0ead861b49
22 changed files with 45 additions and 45 deletions

View File

@@ -18,7 +18,7 @@
{% assign currentdate = article.date | date: "%Y" %}
{% if currentdate != date %}
{% assign year_url = "/years/" | append: currentdate | append: ".html" %}
<li><a href="/years/{{ currentdate }}" class="{% if page.url == year_url %}current-page-link{% endif %} year-navbar-link"></a>{{ currentdate }}</a></li>
<li><a href="/years/{{ currentdate }}" class="{% if page.url == year_url %}current-page-link{% endif %} year-navbar-link">{{ currentdate }}</a></li>
{% assign date = currentdate %}
{% endif %}
<li><a href="{{ article.url | relative_url }}" class="{% if article.url == page.url %}current-page-link{% endif %} article-navbar-link">{{ article.title }}</a></li>