diff --git a/files/routes/feeds.py b/files/routes/feeds.py index 103b8e261..068946c81 100644 --- a/files/routes/feeds.py +++ b/files/routes/feeds.py @@ -48,7 +48,7 @@ def feeds_user(sort='hot', t='all'): with tag("published"): text(datetime.utcfromtimestamp(post.created_utc).isoformat()) - doc.stag("link", href=post.url) + if post.url: doc.stag("link", href=post.url) with tag("author"): with tag("name"):