title = "Home" url = "/" layout = "default" is_hidden = 0 [listPosts featuredPosts] postIds = "1,2" postsLimit = 2 postsPerPage = 2 sortOrder = "published_at desc" [listPosts latestPosts] notPostIds = "1,2" postsLimit = 5 postsPerPage = 5 sortOrder = "published_at desc" == {# --- You could easily apply some layout logic here if you wanted to build a very dynamic theme. Eg, if you wanted a sidebar on all pages you could put the featured/latest posts components in the layout files. We're not doing that here, we just want alt styles so main pages are designed around the default layout only and components live on pages. --- #} {% put jumbotron %}
{% for entry in this.theme.images.banner.responsive %} {% if entry.image and entry.screen_width %} {% endif %} {% endfor %} {% if this.theme.images.banner.default %} {{this.theme.images.banner.alt}} {% else %} A placeholder {% endif %}
{% content 'home-hero' %}
{% endput %}
{% content 'home-intro' %}

{{ 'headings.featured-posts' | _ }}

{% component 'featuredPosts' %}

{{ 'headings.latest-posts' | _ }}

{% component 'latestPosts' %}

{{ 'links.all-posts' | _ }}