{# any markdown file that does not have a template set will use this index.html file to display their contents #} {% include 'header.html' with {'type': 'index'} %} {% include 'navigation.html' %}
{{ content }} {# only show the blog roll on the homepage. so we check to see if the title matches #} {% if current_page.title == 'Homepage' %} {% for page in pages %} {# check if the page uses the post template #} {% if page.meta.template == 'post' %}

{{ page.meta.title }}


{# remove the formatting and limit the string to 300 characters #}

{{ page.content|striptags|slice(0, 300) }}...

Read More
{% endif %} {% endfor %} {% endif %}
{% include 'footer.html' %}