{# # Homepage template # --------------- # # When this template gets loaded, it will be because someone has accessed # http://yoursite.com/ (without any URI). Craft checks to see if you have # a Single section set to be the Homepage (as you do, by default), and # loads the section’s Template (this file). A special ‘entry’ variable # will already be set for you, assigned to the Homepage entry. # # It's worth noting that even if you didn't have a Homepage Single section, # as long as this template remains at craft/templates/index.html, it # would still be the one to get loaded when accessing http://yoursite.com/, # albeit without an ‘entry’ variable already set for you. # # See this page for more details on how Craft routes requests: # http://craftcms.com/docs/routing #} {% extends "layouts/_layout" %} {% block block_seo %} {{ seo.metaTitle }} {% endblock %} {% block socials %} {% endblock %} {% block toolbar %} {% if entry.color %} {% else %} {% endif %} {% endblock %} {% block styles %} {% endblock %} {% block content %}
Blog

{{ header.tagline }}

{{ header.subtitle }}

{{ header.ctaText }}
{% paginate craft.entries.section('articles').limit(9) as pageInfo, pageEntries %}
{% cache for 1 week %} {% for entry in pageEntries %}
{{ entry.postDate|date('F d, Y'|t) }}

{{ entry.title }}

{% endfor %} {% endcache %}
{% endblock %} {% block scripts %} {% endblock %}