Kinda messy if.

master
Nick Sergeant 2013-01-17 01:31:24 -05:00
parent 0a49b39a0b
commit 36e8609c19
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
{% if request.blog_user.profile.is_pro %}
{% if request.blog_user.profile.is_pro and request.blog_user.profile.blog_domain and request.blog_user.profile.blog_domain != '' %}
<atom:link href="{% if request.blog_user.profile.blog_domain %}http://{{ request.blog_user.profile.blog_domain }}/?rss{% else %}https://{{ request.blog_user.username }}.snipt.net/?rss{% endif %}" rel="self" type="application/rss+xml" />
<description>{% firstof request.blog_user.profile.blog_title request.blog_user.username %}</description>
<title>{% firstof request.blog_user.profile.blog_title request.blog_user.username %}</title>