Convert tag category Javascript/CSS assets to ERB
This commit is contained in:
@@ -8,8 +8,6 @@
|
||||
<% unless CurrentUser.disable_responsive_mode? %>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<% end %>
|
||||
<meta name="tag-category-names" content="<%= TagCategory.categories %>">
|
||||
<meta name="short-tag-category-names" content="<%= TagCategory.short_name_list %>">
|
||||
<meta name="current-user-name" content="<%= CurrentUser.name %>">
|
||||
<meta name="current-user-id" content="<%= CurrentUser.id %>">
|
||||
<meta name="current-user-can-approve-posts" content="<%= CurrentUser.can_approve_posts? %>">
|
||||
|
||||
@@ -157,7 +157,6 @@
|
||||
<% end %>
|
||||
|
||||
<% content_for(:html_header) do %>
|
||||
<meta name="related-tag-button-list" content="<%= TagCategory.related_button_list %>">
|
||||
<meta name="description" content="<%= @post.presenter.humanized_tag_string %>">
|
||||
<meta name="tags" content="<%= @post.tag_string %>">
|
||||
<meta name="favorites" content="<%= @post.fav_string %>">
|
||||
|
||||
@@ -141,8 +141,4 @@
|
||||
Upload - <%= Danbooru.config.app_name %>
|
||||
<% end %>
|
||||
|
||||
<% content_for(:html_header) do %>
|
||||
<meta name="related-tag-button-list" content="<%= Danbooru.config.related_tag_button_list %>">
|
||||
<% end %>
|
||||
|
||||
<%= render "posts/partials/common/secondary_links" %>
|
||||
|
||||
Reference in New Issue
Block a user