layout: default
<div>
{%- if page.title -%} <h1>{{ page.title }}</h1> {%- endif -%} {% if site.paginate %} {% assign posts = paginator.posts %} {% else %} {% assign posts = site.posts %} {% endif %} {%- if posts.size > 0 -%} {%- if page.list_title -%} <h2>{{ page.list_title }}</h2> {%- endif -%} <ul class="post-list"> {%- assign date_format = site.aurora.date_format | default: "%b %-d, %Y" -%} {%- for post in posts -%} <li class="post-list-item"> <span class="post-date">{{ post.date | date: date_format }}</span> <h3 class="post-title"> <a href="{{ post.url | relative_url }}"> {{ post.title | escape }} </a> </h3> <p class="post-excerpt"> {%- if site.show_excerpts -%} {{ post.excerpt }} {%- endif -%} </p> </li> {%- endfor -%} </ul> {%- endif -%} </div>