diff --git a/app/views/collections/_meta.html.erb b/app/views/collections/_meta.html.erb index 3c722fc62..3e3a5f657 100644 --- a/app/views/collections/_meta.html.erb +++ b/app/views/collections/_meta.html.erb @@ -1,17 +1,17 @@ <% title title_string %> -" /> - + + <%= meta_keywords_default %> -" /> - + + - + "> - - + + diff --git a/app/views/collections/index.html.erb b/app/views/collections/index.html.erb index eb069adad..87f1840a2 100644 --- a/app/views/collections/index.html.erb +++ b/app/views/collections/index.html.erb @@ -1,7 +1,8 @@ <% title_string = "#{@user.name}'s Series" %> +<% description_string = "View #{title_string} on #{community_name}" %> <%= content_for :page_meta do %> - <%= render "collections/meta", title_string: title_string %> + <%= render "collections/meta", title_string: title_string, description_string: description_string, path: "#{@user.username}/series/" %> <% end %>
diff --git a/app/views/collections/show.html.erb b/app/views/collections/show.html.erb index f0962b578..f4f22dc31 100644 --- a/app/views/collections/show.html.erb +++ b/app/views/collections/show.html.erb @@ -1,7 +1,8 @@ <% title_string = "#{@collection.slug} Series' Articles" %> +<% description_string = "View #{title_string} on #{community_name}" %> <%= content_for :page_meta do %> - <%= render "collections/meta", title_string: title_string %> + <%= render "collections/meta", title_string: title_string, description_string: description_string, path: @collection.path %> <% end %>