_layouts/home.html in jekyll-theme-parallelism-0.1.1 vs _layouts/home.html in jekyll-theme-parallelism-0.1.2
- old
+ new
@@ -6,10 +6,10 @@
<!-- Main -->
<section id="main">
<!-- Items -->
{% for collection in collections %}
- {% if collection.label != 'posts' %}
+ {% if collection.docs.size > 0 %}
<div class="items">
{% assign docs = collection.docs | sort: 'date' %}
{% if forloop.index == 1 %}
<div class="item intro span-2">
<h1>{{ site.title }}</h1>
\ No newline at end of file