mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 15:28:37 -05:00
Add protocol to shorturl header link.
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
href="/static/compact/reddit_startimg.png" />
|
||||
<link rel="canonical" href="${thing.canonical_link}" />
|
||||
%if hasattr(thing, "shortlink"):
|
||||
<link rel="shorturl" href="${thing.shortlink}" />
|
||||
<link rel="shorturl" href="http://${thing.shortlink}" />
|
||||
%endif
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
||||
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
%endif
|
||||
|
||||
%if hasattr(thing, "shortlink"):
|
||||
<link rel="shorturl" href="${thing.shortlink}"/>
|
||||
<link rel="shorturl" href="http://${thing.shortlink}"/>
|
||||
%endif
|
||||
|
||||
%if c.allow_styles and c.site.stylesheet_contents:
|
||||
|
||||
Reference in New Issue
Block a user