layout | title | permalink |
---|---|---|
default |
Blog |
/blog/ |
{% for post in site.posts %}
{{ post.date | date: "%b %-d, %Y" }}
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
{% if post.content.size > 100 %}
{{ post.content | truncatewords: 50 }}
<a href="{{ post.url | prepend: site.baseurl }}">read more</a>
{% else %}
{{ post.content }}
{% endif %}
<hr>
{% endfor %}
subscribe via RSS