{%- assign locales = site.data.locales -%} {%- assign featuredPosts = paginator.posts | where: "featured", true -%} {% if featuredPosts %} {%- assign featuredPosts = featuredPosts | sort: "order" -%} {% endif %} {%- assign otherPosts = paginator.posts | where: "featured", false -%} {%- for fPost in featuredPosts -%} {%- include home/post_card.html post=fPost -%} {%- endfor -%}
{%- for oPost in otherPosts -%} {%- include home/post_card.html post=oPost -%}
{%- endfor -%}

{% include sidebar.html %}