From b496a29a7de381765f3c45ced9fa18f026b2e314 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 28 Oct 2023 00:16:07 -0400 Subject: serve --- app/views/layouts/wittle/application.html.erb | 15 --------------- app/views/layouts/wittle/application.html.haml | 9 +++++++++ 2 files changed, 9 insertions(+), 15 deletions(-) delete mode 100644 app/views/layouts/wittle/application.html.erb create mode 100644 app/views/layouts/wittle/application.html.haml (limited to 'app/views/layouts') 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 @@ - - - - Wittle - <%= csrf_meta_tags %> - <%= csp_meta_tag %> - - <%= stylesheet_link_tag "wittle/application", media: "all" %> - - - -<%= yield %> - - - 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 @@ +!!! 5 +%html + %head + %title Wittle + = csrf_meta_tags + = csp_meta_tag + = stylesheet_link_tag "wittle/application", media: "all" + = javascript_include_tag "wittle/application" + %body= yield -- cgit 1.4.1