layout | title |
---|---|
default |
Blog |
{% assign sorted_posts = site.posts | sort: 'date' | reverse %}
{% for post in sorted_posts %}
{% endfor %}
{% assign content = post.content | split: '
' %} {% if content[0] %} {% assign first_paragraph = content[0] | remove: '' | remove: '
' %} {{ first_paragraph | strip_html | truncatewords: 150, '...' }} {% endif %} Read More