Change file structure

This commit is contained in:
2020-03-10 13:40:22 +00:00
parent fc16869ff5
commit 25914ba3dc
83 changed files with 1393 additions and 1469 deletions

View File

@@ -13,13 +13,13 @@
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">home</i>
<span class="mdc-list-item__text">Home Page</span>
</a>
{% if site.posts %}
{% if site.articles %}
<div class="mdc-list-group">
<h3 class="mdc-typography--headline7">Articles</h3>
{% for article in site.posts %}
{% for article in site.articles %}
{% assign currentdate = article.date | date: "%Y" %}
{% if currentdate != date %}
{% if article.url != site.posts.first.url %}
{% if article.url != site.articles.first.url %}
</div>
{% endif %}
<div class="mdc-list-group">
@@ -34,7 +34,7 @@
<i class="material-icons mdc-list-item__graphic" aria-hidden="true">assignment</i>
<span class="mdc-list-item__text">{{ article.title }}</span>
</a>
{% if article.url == site.posts.last.url %}
{% if article.url == site.articles.last.url %}
</div>
{% endif %}
{% endfor %}