{%- assign posts = site.posts -%} {%- if page.lang != null -%} {%- assign posts = site.posts | where: "lang", page.lang -%} {%- endif -%} {%- assign limit = null -%} {%- if site.waterfall.home.last_posts_items -%} {%- assign limit = site.waterfall.home.last_posts_items -%} {%- endif -%} {%- if page.last_posts_items -%} {%- assign limit = page.last_posts_items -%} {%- endif -%}

Last Posts

{% for post in posts limit: limit %} {% endfor %}
{%- if page.posts -%}
{{ page.posts.see_more_label }}
{%- endif -%}