36 lines
1.2 KiB
HTML
36 lines
1.2 KiB
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
<div class="home">
|
|
|
|
{% if site.posts.size > 0 %}
|
|
<h2 class="post-list-heading">{{ page.list_title }}</h2>
|
|
<ul class="post-list">
|
|
{% for post in site.posts %}
|
|
<li>
|
|
<span class="post-meta">
|
|
{% if post.author %}
|
|
<span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ post.author }}</span></span> •
|
|
{% endif %}
|
|
{% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
|
|
{{ post.date | date: date_format }}
|
|
</span>
|
|
<h3>
|
|
<a class="post-link post-title" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
|
|
</h3>
|
|
<div class="float-left post-excerpt">
|
|
<img class="float-right post-thumb" alt="{{ post.description | escape }}" src="../assets/images/{{ post.image }}_small.jpg" />
|
|
{{ post.excerpt }}
|
|
</div>
|
|
<div class="clear-both"></div>
|
|
<div class="post-readmore">
|
|
<a href="{{ post.url | relative_url }}" class="button">Continue Reading</a>
|
|
</div>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|