diff --git a/templates/atom.xml b/templates/atom.xml index c45dafd..6402128 100644 --- a/templates/atom.xml +++ b/templates/atom.xml @@ -1,50 +1,47 @@ {{ config.title }} - {%- if term %} - {{ term.name }} - {%- elif section.title %} - {{ section.title }} - {%- endif -%} + {%- 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 %} + "/> + 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="%+") }} + {{ page.updated | default(value=page.date) | date(format="%+") }} - {%- if page.authors -%} - {{ page.authors[0] }} - {%- elif config.author -%} - {{ config.author }} - {%- else -%} - Unknown - {%- endif -%} + {%- if page.authors -%} + {{ page.authors[0] }} + {%- elif config.author -%} + {{ config.author }} + {%- else -%} + Unknown + {%- endif -%} - - {{ - page.permalink | safe }} - {% if page.summary %} - {{ page.summary }} - {% elif page.description %} - {{ page.description }} - {% endif %} + + {{ page.permalink | safe }} + {% if page.summary %} + {{ page.summary }} + {% elif page.description %} + {{ page.description }} + {% endif %} {%- endfor %}