27 lines
760 B
HTML
27 lines
760 B
HTML
<article itemscope itemtype="https://schema.org/BlogPosting">
|
|
<h2 class="article-title" itemprop="headline">
|
|
<a href="{{ post.permalink() }}" itemprop="url mainEntityOfPage">
|
|
{% match post.metadata.html_title %}
|
|
{% when Some with (html) %}
|
|
{{ html|safe }}
|
|
{% when None %}
|
|
{{ post.metadata.title }}
|
|
{% endmatch %}
|
|
</a>
|
|
</h2>
|
|
{% include "includes/article-meta.html" %}
|
|
<div class="article-content" itemprop="description">
|
|
{% match post.excerpt %}
|
|
{% when Some with (excerpt) %}
|
|
{{ excerpt|safe }}
|
|
{% when None %}
|
|
{{ post.content.html()|safe }}
|
|
{% endmatch %}
|
|
</div>
|
|
{% if post.excerpt.is_some() %}
|
|
<p class="read-more-link">
|
|
<a href="{{ post.permalink() }}">Read more...</a>
|
|
</p>
|
|
{% endif %}
|
|
</article>
|