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:
evazion
2020-01-26 14:38:08 -06:00
parent fbe39148cd
commit 815703a922
22 changed files with 42 additions and 36 deletions

View File

@@ -1,4 +1,6 @@
<% page_title "Popular Posts" %>
<% meta_description "The most popular posts per #{@scale}" %>
<%= render "posts/partials/common/secondary_links" %>
<div id="c-explore-posts">
@@ -26,7 +28,3 @@
<%= post_previews_html(@posts) %>
</div>
</div>
<% content_for(:html_header) do %>
<meta name="description" content="The most popular posts per <%= @scale %>">
<% end %>

View File

@@ -1,4 +1,6 @@
<% page_title "Most Viewed" %>
<% meta_description "The most viewed posts per #{@scale}" %>
<%= render "posts/partials/common/secondary_links" %>
<div id="c-explore-posts">
@@ -17,7 +19,3 @@
</div>
</div>
</div>
<% content_for(:html_header) do %>
<meta name="description" content="The most viewed posts per day">
<% end %>