Add protocol to shorturl header link.

This commit is contained in:
James Socol
2011-05-17 18:36:49 -04:00
parent 18cdeee38d
commit fb7fedee2e
2 changed files with 2 additions and 2 deletions

View File

@@ -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;"/>

View File

@@ -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: