Skip to content

Commit

Permalink
Merge pull request #1691 from AlchemyCMS/update-application-layout-te…
Browse files Browse the repository at this point in the history
…mplate

Update the application layout installer template
  • Loading branch information
tvdeyen authored Dec 7, 2019
2 parents 812a088 + 35f280a commit 3f936fc
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions lib/rails/generators/alchemy/install/files/application.html.erb
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
<!DOCTYPE html>
<html lang="<%= @page.language_code %>">
<head>
<%= render "alchemy/pages/meta_data" %>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
<%= render "alchemy/edit_mode" %>
</body>
<head>
<%= render "alchemy/pages/meta_data" %>
<%= csrf_meta_tags %>
<%= csp_meta_tag %>

<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
</head>

<body>
<%= yield %>
<%= render "alchemy/edit_mode" %>
</body>
</html>

0 comments on commit 3f936fc

Please sign in to comment.