From e0213305a7346357a1a9d485e824f6b068e3a3f3 Mon Sep 17 00:00:00 2001 From: Bruno Abrantes Date: Thu, 16 Jan 2014 15:35:11 +0000 Subject: [PATCH] Removes empty element in category post loop With the old post loop, an empty ```
  • ``` was being created at the beginning. Using ```category.last``` to reference the array of posts fixes this. --- _includes/nav.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/_includes/nav.html b/_includes/nav.html index 5a9f88b1..1153d6a8 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -8,12 +8,10 @@

    {{ site.title }}

    {% for category in site.categories %}
  • {{ category | first }}

  • {% endfor %} - \ No newline at end of file +