Improve RSS feed title (show term, torrent/magnet)

This commit is contained in:
TheAMM 2017-07-22 21:54:28 +03:00
parent c31749c1d5
commit a50d39ccaa
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:nyaa="{{ url_for('xmlns_nyaa', _external=True) }}" version="2.0">
<channel>
<title>{{ config.SITE_NAME }} Torrent File RSS</title>
<title>{{ config.SITE_NAME }} - {{ term }} - {% if not magnet_links %}Torrent File{% else %}Magnet URI{% endif %} RSS</title>
<description>RSS Feed for {{ term }}</description>
<link>{{ url_for('home', _external=True) }}</link>
<atom:link href="{{ url_for('home', page='rss', _external=True) }}" rel="self" type="application/rss+xml" />