mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-02-01 18:25:05 -05:00
Use an absolute URL for self-posts for the embeddable widget
This commit is contained in:
committed by
Neil Williams
parent
c1251f32bc
commit
a4ee8b2c15
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user