34 lines
772 B
HTML
34 lines
772 B
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
<div class="home">
|
|
|
|
{{ content }}
|
|
|
|
{% assign posts = site.posts %}
|
|
|
|
{%- if posts.size > 0 -%}
|
|
{%- if page.list_title -%}
|
|
<h2 class="post-list-heading">{{ page.list_title }}</h2>
|
|
{%- endif -%}
|
|
<div class="post-list">
|
|
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
|
{%- for post in posts -%}
|
|
<div>
|
|
<h3>
|
|
<a class="post-link" href="{{ post.url | relative_url }}">
|
|
{{ post.title | escape }}
|
|
</a>
|
|
</h3>
|
|
{%- if site.show_excerpts -%}
|
|
{{ post.excerpt }}
|
|
{%- endif -%}
|
|
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
|
</div>
|
|
{%- endfor -%}
|
|
</div>
|
|
|
|
{%- endif -%}
|
|
|
|
</div> |