|
|
@ -3,7 +3,7 @@
|
|
|
|
{# It would also work with arrays (e.g. ["dates"] or ["indexes"] or even ["indexes","dates"]). #}
|
|
|
|
{# It would also work with arrays (e.g. ["dates"] or ["indexes"] or even ["indexes","dates"]). #}
|
|
|
|
{# Nevertheless, arrays cannot be used as a default value for a macro parameter in Tera (see https://github.com/Keats/tera/issues/710). #}
|
|
|
|
{# Nevertheless, arrays cannot be used as a default value for a macro parameter in Tera (see https://github.com/Keats/tera/issues/710). #}
|
|
|
|
{# `paginator` is only used to compute indexes metadata and can be let empty otherwise. #}
|
|
|
|
{# `paginator` is only used to compute indexes metadata and can be let empty otherwise. #}
|
|
|
|
{% macro list_posts(posts, all_posts="", max=999999, metadata="dates", language_strings="", section_path="blog", paginator="", pinned_first=false, current_page=1) %}
|
|
|
|
{% macro list_posts(posts, all_posts="", max=999999, metadata="dates", language_strings="", section_path="", paginator="", pinned_first=false, current_page=1) %}
|
|
|
|
|
|
|
|
|
|
|
|
{%- set separator = config.extra.separator | default(value="•") -%}
|
|
|
|
{%- set separator = config.extra.separator | default(value="•") -%}
|
|
|
|
|
|
|
|
|
|
|
|