about summary refs log tree commit diff stats
path: root/app/views/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/wittle/application.html.erb15
-rw-r--r--app/views/layouts/wittle/application.html.haml9
2 files changed, 9 insertions, 15 deletions
diff --git a/app/views/layouts/wittle/application.html.erb b/app/views/layouts/wittle/application.html.erb deleted file mode 100644 index ba450d1..0000000 --- a/app/views/layouts/wittle/application.html.erb +++ /dev/null
@@ -1,15 +0,0 @@
1<!DOCTYPE html>
2<html>
3<head>
4 <title>Wittle</title>
5 <%= csrf_meta_tags %>
6 <%= csp_meta_tag %>
7
8 <%= stylesheet_link_tag "wittle/application", media: "all" %>
9</head>
10<body>
11
12<%= yield %>
13
14</body>
15</html>
diff --git a/app/views/layouts/wittle/application.html.haml b/app/views/layouts/wittle/application.html.haml new file mode 100644 index 0000000..945ffc0 --- /dev/null +++ b/app/views/layouts/wittle/application.html.haml
@@ -0,0 +1,9 @@
1!!! 5
2%html
3 %head
4 %title Wittle
5 = csrf_meta_tags
6 = csp_meta_tag
7 = stylesheet_link_tag "wittle/application", media: "all"
8 = javascript_include_tag "wittle/application"
9 %body= yield