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

@@ -4,9 +4,9 @@ description: News articles written by Reading School students in year 8
layout: home
---
{% if site.posts %}
{% if site.articles %}
{% assign currentdate_count = 0 %}
{% assign articles = site.posts | sort: date | reverse %}
{% assign articles = site.articles | sort: date | reverse %}
{% for article in articles %}
{% assign currentdate = article.date | date: "%Y" %}
{% if currentdate != date %}