From 735b7ddc050032d25bcc301e0310d511717c3065 Mon Sep 17 00:00:00 2001 From: Pk11 Date: Wed, 23 Dec 2020 00:20:01 -0600 Subject: [PATCH] Fix pages in categories (it worked for me...) Why does that work for me but not GitHub Pages? --- _layouts/wiki.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_layouts/wiki.html b/_layouts/wiki.html index afe4fa11..0097a520 100644 --- a/_layouts/wiki.html +++ b/_layouts/wiki.html @@ -35,13 +35,13 @@ layout: compress
  • {{ item.title }}
  • {% endif %} {% endfor %} - {% assign noCat = items | where: "category", nil %} - {% for item in noCat %} - {% unless item.url contains "index.html" %} + + {% for item in items %} + {% unless item.url contains "index.html" or item.category %}
  • {{ item.title }}
  • {% endunless %} {% endfor %} - + {% for cat in categories %}