diff --git a/_config.yml b/_config.yml
index d4f3fcd..9df08d6 100644
--- a/_config.yml
+++ b/_config.yml
@@ -13,5 +13,4 @@ defaults:
path: ""
type: "posts"
values:
- layout: "image-article"
- categories: articles
\ No newline at end of file
+ layout: "image-article"
\ No newline at end of file
diff --git a/_includes/navbar.html b/_includes/navbar.html
index ac7cb56..45c19fc 100644
--- a/_includes/navbar.html
+++ b/_includes/navbar.html
@@ -13,13 +13,13 @@
home
Home Page
- {% if site.categories.articles %}
+ {% if site.posts %}
- {% assign articles = site.categories.articles | sort: date | reverse %}
+ {% assign articles = site.posts | sort: date | reverse %}
{% for article in articles %}
{% assign articleyear = article.date | date: "%Y" %}
{% if pageyear == articleyear %}
diff --git a/index.md b/index.md
index ef22d79..1ae1d56 100644
--- a/index.md
+++ b/index.md
@@ -4,9 +4,9 @@ description: News articles written by Reading School students in year 8
layout: home
---
-{% if site.categories.articles %}
+{% if site.posts %}
{% assign currentdate_count = 0 %}
-{% assign articles = site.categories.articles | sort: date | reverse %}
+{% assign articles = site.posts | sort: date | reverse %}
{% for article in articles %}
{% assign currentdate = article.date | date: "%Y" %}
{% if currentdate != date %}