summaryrefslogtreecommitdiffstats
path: root/blog/_includes/post-excerpt.html
blob: b3616d85be4ea44f3782b806cff27ff10a46d18b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{% assign post = include.post %}
<article class="post-excerpt">
  {% include post-header.html post = post %}
  <section class="post-body">
    {% if post.page-image %}
      <div class="post-image">
        {{ post.page-image | img: "magick:resize:290x" }}
      </div>
    {% endif %}
    {{ post.excerpt }}
    <p><a href="{{ post.url | prepend: site.baseurl }}">{% t global.read_more %}</a></p>
  </section>
</article>