Move HTML settings to content blocks settings page

- Rename html settings keys
- Show html settings next to content blocks page
- Hide html settings from configuration tab
This commit is contained in:
Julian Herrero
2019-03-13 12:49:50 +01:00
parent 89d4ea5aa3
commit 4df9a1a1b4
8 changed files with 23 additions and 14 deletions

View File

@@ -14,10 +14,10 @@
type: "image/png" %>
<%= content_for :social_media_meta_tags %>
<%= setting["per_page_code_head"].try(:html_safe) %>
<%= setting["html.per_page_code_head"].try(:html_safe) %>
</head>
<body class="<%= yield (:body_class) %>">
<%= setting["per_page_code_body"].try(:html_safe) %>
<%= setting["html.per_page_code_body"].try(:html_safe) %>
<h1 class="show-for-sr"><%= setting["org_name"] %></h1>