From 9314db5183fd5c6072bfa7ef5bf9964c80817eb9 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Sat, 12 Apr 2014 14:51:11 -0700 Subject: [PATCH] fix mobile listing page title --- app/views/mobile/posts/index.html.erb | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/app/views/mobile/posts/index.html.erb b/app/views/mobile/posts/index.html.erb index 3705e0f4c..d3de6363e 100644 --- a/app/views/mobile/posts/index.html.erb +++ b/app/views/mobile/posts/index.html.erb @@ -28,8 +28,10 @@ <% end %> -<% if @post_set.tag_string.present? %> - <%= @post_set.humanized_tag_string %> - <%= Danbooru.config.app_name %> -<% else %> - <%= Danbooru.config.app_name %> -<% end %> +<% content_for(:page_title) do %> + <% if @post_set.tag_string.present? %> + <%= @post_set.humanized_tag_string %> - <%= Danbooru.config.app_name %> + <% else %> + <%= Danbooru.config.app_name %> + <% end %> +<% end %> \ No newline at end of file