mirror of
https://gitlab.com/tildes/tildes.git
synced 2026-04-16 06:18:34 +02:00
Fix blank lines at start of Atom/RSS feeds
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{# Copyright (c) 2021 Tildes contributors <code@tildes.net> #}
|
||||
{# SPDX-License-Identifier: AGPL-3.0-or-later #}
|
||||
{# SPDX-License-Identifier: AGPL-3.0-or-later -#}
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{# Copyright (c) 2021 Tildes contributors <code@tildes.net> #}
|
||||
{# SPDX-License-Identifier: AGPL-3.0-or-later #}
|
||||
{# SPDX-License-Identifier: AGPL-3.0-or-later -#}
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<rss version="2.0">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{# Copyright (c) 2021 Tildes contributors <code@tildes.net> #}
|
||||
{# 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 %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{# Copyright (c) 2021 Tildes contributors <code@tildes.net> #}
|
||||
{# 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 %}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{# Copyright (c) 2021 Tildes contributors <code@tildes.net> #}
|
||||
{# SPDX-License-Identifier: AGPL-3.0-or-later #}
|
||||
|
||||
{% extends 'base.atom.jinja2' %}
|
||||
{%- extends 'base.atom.jinja2' %}
|
||||
|
||||
{% block feed_title %}~{{ group.path }} - Tildes{% endblock %}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{# Copyright (c) 2021 Tildes contributors <code@tildes.net> #}
|
||||
{# SPDX-License-Identifier: AGPL-3.0-or-later #}
|
||||
{# SPDX-License-Identifier: AGPL-3.0-or-later -#}
|
||||
|
||||
{% extends 'base.rss.jinja2' %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user