_layouts/home.html in doccoli-jekyll-1.2.0 vs _layouts/home.html in doccoli-jekyll-1.2.1

- old
+ new

@@ -1,18 +1,38 @@ --- layout: default --- -<div class="wrapper"> +<div class="wrapper pad"> <h1 href="{{ "/" | relative_url }}">{{ site.title | escape }}</h1> + <p class="">Subscribe <a href="{{ '/feed.xml' | relative_url }}">via RSS</a></p> + <hr> - <p class="right">Subscribe <a href="{{ '/feed.xml' | relative_url }}">via RSS</a></p> {{ content }} + + {% assign post = site.posts.first %} + + <h3> + <a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a> + </h3> + {% assign date_format = site.doccoli-jekyll.date_format | default: "%b %-d, %Y" %} + <span>{{ post.date | date: date_format }}</span> + + + <p> + {{ post.content }} + </p> + + + + + +<!-- <ul class="pad-vertically"> {% for post in site.posts %} <li> <h3> <a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a> @@ -22,7 +42,7 @@ <span>{{ post.date | date: date_format }}</span> </li> {% endfor %} </ul> - + --> </div> \ No newline at end of file