This commit is contained in:
Toks
2013-07-23 22:50:42 -04:00
6 changed files with 20 additions and 7 deletions

View File

@@ -116,6 +116,11 @@
<meta name="twitter:image:width" content="<%= @post.image_width %>">
<meta name="twitter:image:height" content="<%= @post.image_height %>">
<% end %>
<% if @post.presenter.next_post_in_pool %>
<link rel="prefetch" href="<%= post_path(@post.presenter.next_post_in_pool, :pool_id => params[:pool_id]) %>">
<link rel="prerender" href="<%= post_path(@post.presenter.next_post_in_pool, :pool_id => params[:pool_id]) %>">
<% end %>
<% end %>
<%= render "posts/partials/common/secondary_links" %>