diff --git a/r2/r2/templates/base.html b/r2/r2/templates/base.html
index 176a910c3..2543f9f88 100644
--- a/r2/r2/templates/base.html
+++ b/r2/r2/templates/base.html
@@ -38,7 +38,7 @@
${self.robots()}
-
+ ${self.pagemeta()}
${self.stylesheet()}
${self.javascript()}
${js_setup()}
@@ -95,6 +95,8 @@ reddit, reddit.com, vote, comment, submit
${googleanalytics('web')}
%def>
+<%def name="pagemeta()">
+%def>
<%def name="stylesheet()">
%def>
diff --git a/r2/r2/templates/reddit.html b/r2/r2/templates/reddit.html
index 025710a60..4c88a09cb 100644
--- a/r2/r2/templates/reddit.html
+++ b/r2/r2/templates/reddit.html
@@ -42,6 +42,24 @@
%endif
%def>
+<%def name="pagemeta()">
+ %if hasattr(thing, "shortlink"):
+
+ %endif
+
+
+
+ %if thing.extension_handling:
+ <%
+ rss = add_sr(join_urls(request.path,'.rss'))
+ if thing.extension_handling == "private":
+ rss = make_feedurl(c.user, rss)
+ %>
+
+ %endif
+%def>
+
<%def name="stylesheet()">
%if c.lang_rtl:
- %endif
-
%if c.can_apply_styles and c.allow_styles and c.site.stylesheet_contents:
<% inline_stylesheet = (
len(c.site.stylesheet_contents) < 1024
@@ -88,19 +102,6 @@
type="text/css" />
%endif
-
-
-
- %if thing.extension_handling:
- <%
- rss= add_sr(join_urls(request.path,'.rss'))
- if thing.extension_handling == "private":
- rss = make_feedurl(c.user, rss)
- %>
-
- %endif
-