_layouts/home.html in jekyll-theme-parallelism-0.1.0 vs _layouts/home.html in jekyll-theme-parallelism-0.1.1

- old
+ new

@@ -1,9 +1,30 @@ --- layout: default --- +{% assign collections = site.collections | sort: 'date' | shift %} -{% include header.html class="alt" %} +<!-- Main --> +<section id="main"> -{% include banner.html %} + <!-- Items --> + {% for collection in collections %} + {% if collection.label != 'posts' %} + <div class="items"> + {% assign docs = collection.docs | sort: 'date' %} + {% if forloop.index == 1 %} + <div class="item intro span-2"> + <h1>{{ site.title }}</h1> + <p>{{ site.subtitle }}<br/></p> + </div> + {% endif %} + {% for doc in docs %} + <article class="item thumb span-{{ doc.span }}"> + <h2>{{ doc.title }}</h2> + <a href="{{ doc.image | absolute_url }}" class="image"><img src="{{ doc.thumb | absolute_url }}" alt=""></a> + </article> + {% endfor %} + </div> + {% endif %} + {% endfor %} -{{ content }} +</section> \ No newline at end of file