add rating meta tag
This commit is contained in:
@@ -80,4 +80,7 @@
|
||||
<% if @post_set.hide_from_crawler? %>
|
||||
<meta name="robots" content="nofollow,noindex">
|
||||
<% end %>
|
||||
<% if @post_set.has_explicit? %>
|
||||
<meta name="rating" content="adult">
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
@@ -183,6 +183,10 @@
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<% if @post.rating == "e" %>
|
||||
<meta name="rating" content="adult">
|
||||
<% end %>
|
||||
|
||||
<%= auto_discovery_link_tag(:atom, comments_url(:atom, search: { post_id: @post.id }), title: "Comments for post ##{@post.id}") %>
|
||||
<% end %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user