summaryrefslogblamecommitdiffstats
path: root/blog/_includes/post-excerpt.html
blob: e87b12b8780a476a6dc97e7e23b378e8e305be5d (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                
                                            
                             
                            




                                                                     
               
                      
                                                                                        

            
{% assign post = include.post %}
<article class="post">
  {% include post-header.html post = post %}
  <section class="post-body">
    {% if post.page-image %}
      {% if include.sidebar %}
        {{ post.page-image | img: "magick:resize:290x" }}
      {% else %}
        {{ post.page-image | img: "magick:resize:290x class:right" }}
      {% endif %}
    {% endif %}
    {{ post.excerpt }}
    <p><a href="{{ post.url | prepend: site.baseurl }}">{% t global.read_more %}</a></p>
  </section>
</article>