layout: default
<div class=“home”>
<div class="home-main"> <div class="index-description"> {{ site.description | default: "Your description will be put here!" | markdownify }} </div> {{ content }} </div> <!-- Latest posts shown if posts exist... --> {% if site.posts.size > 0 %} <div class="home-latest-posts"> <h1 class="page-heading">Latest Posts</h1> <ul class="post-list"> {% for post in site.posts limit:site.latest_post_count %} <li> {% assign date_format = site.date_format | default: "%b %-d, %Y" %} <span class="post-meta">{{ post.date | date: date_format }}</span> <h2> <a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a> </h2> </li> {% endfor %} </ul> </div> {% endif %}
</div>