Skip to content

Latest commit

 

History

History
executable file
·
19 lines (14 loc) · 542 Bytes

_postindex.md

File metadata and controls

executable file
·
19 lines (14 loc) · 542 Bytes
layout title
page
posts
    {% for post in site.posts %}
    
      <li class="post">
      	<h2><a href="{% if site.baseurl == "/" %}{{ post.url }}{% else %}{{ post.url | prepend: site.baseurl }}{% endif %}">{%if post.header %}{{ post.header }}{% else %}{{ post.title }}{% endif %}</a></h2>
      <time datetime="{{ post.date | date_to_xmlschema }}" class="by-line"> <i>{{ post.date | date_to_string }}</i> </time>
      	<p>{{ post.content | strip_html | truncatewords:50 }}</p>
      </li>
    
    {% endfor %}