{% import "macros/translate.html" as macros_translate %} {# This section stores the strings/translations for the stylised feed. If the translation is not found, the default English text will be used. #} {{- macros_translate::translate(key="this_is_a_web_feed", default="This is a web feed") -}} {{- macros_translate::translate(key="also_known_as_an_Atom_feed", default="also known as an Atom feed") -}} {{- macros_translate::translate(key="subscribe", default="Subscribe") -}} {{- macros_translate::translate(key="by_copying_the_URL_from_the_address_bar_into_your_newsreader", default="by copying the URL from the address bar into your newsreader") -}} {{- macros_translate::translate(key="visit", default="Visit") -}} {{- macros_translate::translate(key="to_learn_more_and_get_started", default="to learn more and get started") -}} {{- macros_translate::translate(key="it_s_free", default="It's free") -}} {{- macros_translate::translate(key="website", default="website") -}} {{- macros_translate::translate(key="recent_posts", default="Recent posts") -}} {# Load extra CSS (skin) if set in config.toml #} {%- if config.extra.skin and config.extra.skin != "teal" -%} {%- endif -%} {{ config.title | striptags | safe }} {%- if term %} - {{ term.name }} {%- elif section.title %} - {{ section.title }} {%- endif -%} {%- if config.description %} {{ config.description }} {%- endif %} Zola {{ last_updated | date(format="%+") }} {{ feed_url | safe }} {%- for page in pages %} {{ page.title }} {{ page.date | date(format="%+") }} {{ page.updated | default(value=page.date) | date(format="%+") }} {%- if page.authors -%} {{ page.authors[0] }} {%- elif config.author -%} {{ config.author }} {%- else -%} Unknown {%- endif -%} {{ page.permalink | safe }} {% if page.summary -%} {{ page.summary | striptags | safe | trim_end_matches(pat=".") }}… {% elif page.description -%} {{ page.description | striptags | safe }} {% endif -%} {%- endfor %}