diff --git a/files/templates/post.html b/files/templates/post.html index 7c2046097..136d88dd9 100644 --- a/files/templates/post.html +++ b/files/templates/post.html @@ -148,7 +148,7 @@ {% endif %} {% endif %} - {% if p.url.startswith('https://old.reddit.com/r/') %} + {% if p.url and p.url.startswith('https://old.reddit.com/r/') %} {% endif %}