datat.fi/_includes/entry.html

31 lines
999 B
HTML
Raw Normal View History

2022-08-17 16:06:05 +03:00
{% if post.id %} {% assign title = post.title | markdownify | strip_html %} {%
else %} {% assign title = post.title %} {% endif %} {% assign url =
post.external_url | post.url | relative_url %}
2017-03-07 23:12:17 +02:00
<article class="entry">
<header class="entry-header">
<h3 class="entry-title">
2022-08-17 16:06:05 +03:00
<a href="{{ url }}" rel="bookmark">{{ title }}</a>
2017-03-07 23:12:17 +02:00
</h3>
2022-08-17 16:06:05 +03:00
{% if post.image.thumbnail %} {% assign entry_image = post.image.thumbnail |
relative_url | escape %}
<a href="{{ url }}">
<img class="entry-image u-photo" src="{{ entry_image }}" zalt="" />
</a>
{% endif %}
2017-03-07 23:12:17 +02:00
</header>
<div class="entry-excerpt">
2022-08-17 16:06:05 +03:00
{% if post.excerpt and page.show_excerpts != false %} {{ post.excerpt |
markdownify }}
<p>
<a href="{{ 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>
2017-03-17 15:36:47 +02:00
</article>