Skip to content

Commit

Permalink
Fix blank lines at start of Atom/RSS feeds
Browse files Browse the repository at this point in the history
  • Loading branch information
Deimos committed Feb 28, 2021
1 parent 5093fca commit 348c930
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tildes/tildes/templates/base.atom.jinja2
Original file line number Diff line number Diff line change
@@ -1,5 1,5 @@
{# Copyright (c) 2021 Tildes contributors <[email protected]> #}
{# 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">
Expand Down
2 changes: 1 addition & 1 deletion tildes/tildes/templates/base.rss.jinja2
Original file line number Diff line number Diff line change
@@ -1,5 1,5 @@
{# Copyright (c) 2021 Tildes contributors <[email protected]> #}
{# 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">
Expand Down
2 changes: 1 addition & 1 deletion tildes/tildes/templates/home.atom.jinja2
Original file line number Diff line number Diff line change
@@ -1,6 1,6 @@
{# Copyright (c) 2021 Tildes contributors <[email protected]> #}
{# 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 %}
2 changes: 1 addition & 1 deletion tildes/tildes/templates/home.rss.jinja2
Original file line number Diff line number Diff line change
@@ -1,7 1,7 @@
{# Copyright (c) 2021 Tildes contributors <[email protected]> #}
{# 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 %}
Expand Down
2 changes: 1 addition & 1 deletion tildes/tildes/templates/topic_listing.atom.jinja2
Original file line number Diff line number Diff line change
@@ -1,7 1,7 @@
{# Copyright (c) 2021 Tildes contributors <[email protected]> #}
{# SPDX-License-Identifier: AGPL-3.0-or-later #}

{% extends 'base.atom.jinja2' %}
{%- extends 'base.atom.jinja2' %}

{% block feed_title %}~{{ group.path }} - Tildes{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion tildes/tildes/templates/topic_listing.rss.jinja2
Original file line number Diff line number Diff line change
@@ -1,5 1,5 @@
{# Copyright (c) 2021 Tildes contributors <[email protected]> #}
{# SPDX-License-Identifier: AGPL-3.0-or-later #}
{# SPDX-License-Identifier: AGPL-3.0-or-later -#}

{% extends 'base.rss.jinja2' %}

Expand Down

0 comments on commit 348c930

Please sign in to comment.