views: adjust more <meta> descriptions.
* Add <meta> descriptions to more pages. * Adjust wiki/pool/forum pages to use an excerpt of the first paragraph.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<% page_title "Pool Gallery" %>
|
||||
<% meta_description "See thousands of translated anime & hentai comics, galleries, doujins, and more on #{Danbooru.config.app_name}." %>
|
||||
|
||||
<%= render "secondary_links" %>
|
||||
|
||||
<div id="c-pools">
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
<% page_title "Pools" %>
|
||||
<% meta_description "See thousands of translated anime & hentai comics, galleries, doujins, and more on #{Danbooru.config.app_name}." %>
|
||||
|
||||
<%= render "secondary_links" %>
|
||||
|
||||
<div id="c-pools">
|
||||
<div id="a-index">
|
||||
<%= render "search", :path => pools_path %>
|
||||
@@ -20,9 +25,3 @@
|
||||
<%= numbered_paginator(@pools) %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= render "secondary_links" %>
|
||||
|
||||
<% content_for(:html_header) do %>
|
||||
<meta name="description" content="Pools are groups of posts with something in common. The most common use of pools is for posts that are part of a series (such as a comic, or a group of images released by an artist).">
|
||||
<% end %>
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
<% page_title "#{@pool.pretty_name.titleize} | Pool" %>
|
||||
<% page_title @pool.pretty_name %>
|
||||
<% meta_description("#{number_with_delimiter(@pool.post_count)} pages. #{DText.excerpt(@pool.description)}") %>
|
||||
|
||||
<%= render "secondary_links" %>
|
||||
|
||||
<div id="c-pools">
|
||||
@@ -28,7 +30,3 @@
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% content_for(:html_header) do %>
|
||||
<meta name="description" content="<%= strip_dtext(@pool.description) %>">
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user