From 348c930133b9adb6b852054721c1837d5b53d747 Mon Sep 17 00:00:00 2001 From: Deimos Date: Sun, 28 Feb 2021 14:51:10 -0700 Subject: [PATCH] Fix blank lines at start of Atom/RSS feeds --- tildes/tildes/templates/base.atom.jinja2 | 2 +- tildes/tildes/templates/base.rss.jinja2 | 2 +- tildes/tildes/templates/home.atom.jinja2 | 2 +- tildes/tildes/templates/home.rss.jinja2 | 2 +- tildes/tildes/templates/topic_listing.atom.jinja2 | 2 +- tildes/tildes/templates/topic_listing.rss.jinja2 | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tildes/tildes/templates/base.atom.jinja2 b/tildes/tildes/templates/base.atom.jinja2 index f238459..76f2800 100644 --- a/tildes/tildes/templates/base.atom.jinja2 +++ b/tildes/tildes/templates/base.atom.jinja2 @@ -1,5 +1,5 @@ {# Copyright (c) 2021 Tildes contributors #} -{# SPDX-License-Identifier: AGPL-3.0-or-later #} +{# SPDX-License-Identifier: AGPL-3.0-or-later -#} diff --git a/tildes/tildes/templates/base.rss.jinja2 b/tildes/tildes/templates/base.rss.jinja2 index 81e9309..7bd99fb 100644 --- a/tildes/tildes/templates/base.rss.jinja2 +++ b/tildes/tildes/templates/base.rss.jinja2 @@ -1,5 +1,5 @@ {# Copyright (c) 2021 Tildes contributors #} -{# SPDX-License-Identifier: AGPL-3.0-or-later #} +{# SPDX-License-Identifier: AGPL-3.0-or-later -#} diff --git a/tildes/tildes/templates/home.atom.jinja2 b/tildes/tildes/templates/home.atom.jinja2 index 31ba90e..0fd1fa6 100644 --- a/tildes/tildes/templates/home.atom.jinja2 +++ b/tildes/tildes/templates/home.atom.jinja2 @@ -1,6 +1,6 @@ {# Copyright (c) 2021 Tildes contributors #} {# SPDX-License-Identifier: AGPL-3.0-or-later #} -{% extends 'topic_listing.atom.jinja2' %} +{%- extends 'topic_listing.atom.jinja2' %} {% block feed_title %}Tildes Atom feed{% endblock %} diff --git a/tildes/tildes/templates/home.rss.jinja2 b/tildes/tildes/templates/home.rss.jinja2 index a353007..29a1cde 100644 --- a/tildes/tildes/templates/home.rss.jinja2 +++ b/tildes/tildes/templates/home.rss.jinja2 @@ -1,7 +1,7 @@ {# Copyright (c) 2021 Tildes contributors #} {# SPDX-License-Identifier: AGPL-3.0-or-later #} -{% extends 'topic_listing.rss.jinja2' %} +{%- extends 'topic_listing.rss.jinja2' %} {% block channel_title %}Tildes{% endblock %} {% block channel_link %}https://tildes.net/{% endblock %} diff --git a/tildes/tildes/templates/topic_listing.atom.jinja2 b/tildes/tildes/templates/topic_listing.atom.jinja2 index 2d8a245..624e252 100644 --- a/tildes/tildes/templates/topic_listing.atom.jinja2 +++ b/tildes/tildes/templates/topic_listing.atom.jinja2 @@ -1,7 +1,7 @@ {# Copyright (c) 2021 Tildes contributors #} {# SPDX-License-Identifier: AGPL-3.0-or-later #} -{% extends 'base.atom.jinja2' %} +{%- extends 'base.atom.jinja2' %} {% block feed_title %}~{{ group.path }} - Tildes{% endblock %} diff --git a/tildes/tildes/templates/topic_listing.rss.jinja2 b/tildes/tildes/templates/topic_listing.rss.jinja2 index 505907f..cae5286 100644 --- a/tildes/tildes/templates/topic_listing.rss.jinja2 +++ b/tildes/tildes/templates/topic_listing.rss.jinja2 @@ -1,5 +1,5 @@ {# Copyright (c) 2021 Tildes contributors #} -{# SPDX-License-Identifier: AGPL-3.0-or-later #} +{# SPDX-License-Identifier: AGPL-3.0-or-later -#} {% extends 'base.rss.jinja2' %}