2017-03-07 23:12:17 +02:00
|
|
|
{% if post.id %}
|
2017-03-08 23:07:06 +02:00
|
|
|
{% assign title = post.title | markdownify | strip_html %}
|
2017-03-07 23:12:17 +02:00
|
|
|
{% else %}
|
|
|
|
{% assign title = post.title %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<article class="entry">
|
|
|
|
<header class="entry-header">
|
|
|
|
<h3 class="entry-title">
|
|
|
|
<a href="{{ post.url | relative_url }}" rel="bookmark">{{ title }}</a>
|
|
|
|
</h3>
|
|
|
|
<p class="entry-meta">
|
|
|
|
{% if post.date %}
|
2017-03-09 16:24:15 +02:00
|
|
|
<time class="entry-time" datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%B %-d, %Y" }}</time>
|
2017-03-07 23:12:17 +02:00
|
|
|
{% endif %}
|
|
|
|
</p>
|
|
|
|
</header>
|
|
|
|
<div class="entry-excerpt">
|
|
|
|
{% if post.excerpt %}
|
|
|
|
{{ post.excerpt | markdownify }}
|
2017-03-10 18:48:55 +02:00
|
|
|
<p><a href="{{ post.url | relative_url }}" class="more-link">{{ site.data.theme.t.read_more | default: 'Read More' }} <span class="icon icon--arrow-right">{% include icon-arrow-right.svg %}</span></a></p>
|
2017-03-07 23:12:17 +02:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</article>
|