From b1f2d4b51dce99343c9ad387a51ab1d84f449849 Mon Sep 17 00:00:00 2001 From: mat ess Date: Fri, 18 Nov 2022 23:36:47 -0500 Subject: [PATCH] Add meta to Atom --- templates/atom.xml | 8 +++++--- templates/partials/header.html | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/atom.xml b/templates/atom.xml index 41570e7..2bc5507 100644 --- a/templates/atom.xml +++ b/templates/atom.xml @@ -30,11 +30,13 @@ {{ page.updated | default(value=page.date) | date(format="%+") }} {{ page.permalink | safe }} - - {{ page.description | safe | default(value="a post from mat's blog.") -}} - + {{ page.description | default(value="a post from mat's blog.") | safe }} + {%- if page.extra.hero %} + ]]> + ]]> + {% endif -%} {{ page.content }} diff --git a/templates/partials/header.html b/templates/partials/header.html index fa936e3..86b8ffa 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -16,7 +16,7 @@ {%- endfor %} {%- endfor %} - {# RSS #} + {# Atom #} {%- block rss -%} {%- endblock -%}