Use an absolute URL for self-posts for the embeddable widget

This commit is contained in:
Joe Alcorn
2013-01-27 18:41:50 +00:00
committed by Neil Williams
parent c1251f32bc
commit a4ee8b2c15

View File

@@ -56,8 +56,13 @@
%if c.site.link_flair_position == 'left' and thing.flair_text:
${flair()}
%endif
<a href="${thing.href_url}" class="reddit-link-title"
<a class="reddit-link-title"
${optionalstyle("text-decoration:none;color:#336699;font-size:small;")}
%if thing.is_self:
href="${permalink}"
%else:
href="${thing.href_url}"
%endif
%if thing.nofollow:
rel="nofollow"
%endif