diff --git a/_includes/navbar.html b/_includes/navbar.html
index 56d8707..0283432 100644
--- a/_includes/navbar.html
+++ b/_includes/navbar.html
@@ -12,10 +12,10 @@
home
Home Page
- {% if site.posts %}
+ {% if site.categories.articles %}
- {% for article in site.posts %}
+ {% for article in site.categories.articles %}
{% assign currentdate = article.date | date: "%Y" %}
{% if currentdate != date %}
diff --git a/_posts/_template/2019-01-01-article-name.md b/_posts/_template/2019-01-01-article-name.md
index c1139e0..7d44221 100644
--- a/_posts/_template/2019-01-01-article-name.md
+++ b/_posts/_template/2019-01-01-article-name.md
@@ -4,6 +4,7 @@ date: 2019-01-01 7:01
authors: Name
image-caption: A caption for the cover image
layout: article
+categories: articles
---
Content