From 4905d035b705339c91faacfb78dbb869ef7f76fc Mon Sep 17 00:00:00 2001 From: r888888888 Date: Tue, 10 Oct 2017 18:14:44 -0700 Subject: [PATCH] tweak viewport --- app/views/layouts/default.html.erb | 2 +- app/views/posts/index.html.erb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/layouts/default.html.erb b/app/views/layouts/default.html.erb index 0ab8e94fb..e0e6ef355 100644 --- a/app/views/layouts/default.html.erb +++ b/app/views/layouts/default.html.erb @@ -6,7 +6,7 @@ <%= csrf_meta_tag %> <% unless cookies[:dm] %> - + <% end %> diff --git a/app/views/posts/index.html.erb b/app/views/posts/index.html.erb index 6e22b7c39..c25df36f9 100644 --- a/app/views/posts/index.html.erb +++ b/app/views/posts/index.html.erb @@ -63,6 +63,7 @@ <%= content_for(:html_header) do %> + <%= content_tag(:link, nil, rel: "prefetch", href: posts_path(tags: params[:tags], page: (params[:page] || 1).to_i + 1), as: "html", crossorigin: "use-credentials") %> <% if @post_set.has_wiki? %> <% else %>