diff --git a/static/feed_style.xsl b/static/feed_style.xsl new file mode 100644 index 000000000..d1d72a06a --- /dev/null +++ b/static/feed_style.xsl @@ -0,0 +1,105 @@ + + + + + + + + <xsl:value-of select="/atom:feed/atom:title"/> + + + + + + + +
+
+ + This is an Atom feed. Subscribe by copying the URL from the address bar into your newsreader. Visit About Feeds to learn more and get started. It’s free. + + + +
+ Recent Posts +
+
+ +
+
+ +
+
+ +
+ +
+ + + + + +
+
+
+
+
+
+ + +
+
diff --git a/templates/atom.xml b/templates/atom.xml index 6402128e4..276cc0a57 100644 --- a/templates/atom.xml +++ b/templates/atom.xml @@ -1,5 +1,8 @@ - - + + + {{ config.title }} {%- if term %} - {{ term.name }} {%- elif section.title %} - {{ section.title }} @@ -13,7 +16,7 @@ {%- if section -%} {{ section.permalink | escape_xml | safe }} {%- else -%} - {{ config.base_url | escape_xml | safe }} + {{ get_url(path="/", lang=lang) | escape_xml | safe }} {%- endif -%} "/> <generator uri="https://www.getzola.org/">Zola</generator>