mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-03-03 03:17:07 +00:00
Change file structure
This commit is contained in:
4
index.md
4
index.md
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user