_layouts/home.html in oinam-jekyll-1.0.0 vs _layouts/home.html in oinam-jekyll-1.1.0

- old
+ new

@@ -2,21 +2,17 @@ layout: default --- {{ content }} +<section class="home_posts"> + <h3 class="home_posts__title"> + {{ site.layout.home_postheader_title }} + {% if site.layout.posts_home %} + <a class="home_posts__meta" href="{{ site.baseurl | prepend: site.url }}{{ site.layout.posts_home }}">{{ site.layout.home_postmeta_title }}</a> + {% endif %} + </h3> +</section> -{%- for post in site.posts -%} -{%- assign currentdate = post.date | date: "%Y" -%} - -{%- if currentdate != date -%} - {%- unless forloop.first -%}</ul>{% endunless %} - <h2 id="year-{{post.date | date: "%Y"}}">{{ currentdate }}</h2> - <ul class="blog-articles__list"> - {% assign date = currentdate %} - {%- endif -%} - <li class="one-liner"> - <time datetime="{{ post.date | date: '%Y-%m-%d' }}">{{ post.date | date: '%b %d' }}</time> - <a href="{{ post.url }}">{{ post.title }}</a> - </li> - {%- if forloop.last -%}</ul>{% endif %} -{% endfor %} +<div class="items-list content-medium"> + {% include posts-items.html %} +</div> \ No newline at end of file