about summary refs log tree commit diff stats
path: root/templates/atom.xml
diff options
context:
space:
mode:
authorAlan Pearce2024-06-29 22:22:34 +0200
committerAlan Pearce2024-06-29 22:22:34 +0200
commite1a16b18ee0271bbad754d889a1455fc2e8b1d6d (patch)
tree7c04230b57c8adbf3d965f732a95beb4a259c59d /templates/atom.xml
parent973fa31b6743a3ea84c86ab7671349cc70a69142 (diff)
downloadwebsite-e1a16b18ee0271bbad754d889a1455fc2e8b1d6d.tar.lz
website-e1a16b18ee0271bbad754d889a1455fc2e8b1d6d.tar.zst
website-e1a16b18ee0271bbad754d889a1455fc2e8b1d6d.zip
remove unused template file
Diffstat (limited to 'templates/atom.xml')
-rw-r--r--templates/atom.xml48
1 files changed, 0 insertions, 48 deletions
diff --git a/templates/atom.xml b/templates/atom.xml
deleted file mode 100644
index 81c9a76..0000000
--- a/templates/atom.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet href="/feed-styles.xsl" type="text/xsl"?>
-<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="{{ lang }}">
-    <title>{{ config.title }}
-    {%- if term %} - {{ term.name }}
-    {%- elif section.title %} - {{ section.title }}
-    {%- endif -%}
-    </title>
-    {%- if config.description %}
-    <subtitle>{{ config.description }}</subtitle>
-    {%- endif %}
-    <link href="{{ feed_url | safe }}" rel="self" type="application/atom+xml"/>
-    <link href="
-      {%- if section -%}
-        {{ section.permalink | escape_xml | safe }}
-      {%- else -%}
-        {{ config.base_url | escape_xml | safe }}
-      {%- endif -%}
-    "/>
-    <generator uri="https://www.getzola.org/">Zola</generator>
-    <updated>{{ last_updated | date(format="%+") }}</updated>
-    <id>{{ feed_url | safe }}</id>
-    {%- for page in pages %}
-    <entry xml:lang="{{ page.lang }}">
-        <title>{{ page.title }}</title>
-        <published>{{ page.date | date(format="%+") }}</published>
-        <updated>{{ page.updated | default(value=page.date) | date(format="%+") }}</updated>
-        <author>
-          <name>
-            {%- if page.authors -%}
-              {{ page.authors[0] }}
-            {%- elif config.author -%}
-              {{ config.author }}
-            {%- else -%}
-              Unknown
-            {%- endif -%}
-          </name>
-        </author>
-        <link rel="alternate" href="{{ page.permalink | safe }}" type="text/html"/>
-        <id>{{ page.permalink | safe }}</id>
-        {% if page.summary %}
-        <summary type="html">{{ page.summary }}</summary>
-        {% else %}
-        <content type="html">{{ page.content }}</content>
-        {% endif %}
-    </entry>
-    {%- endfor %}
-</feed>