hubfeenix.fi/app/views/layouts/application.haml

22 lines
565 B
Plaintext
Raw Normal View History

2022-11-29 00:13:46 +01:00
!!!
%html
%head
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
%title Hubfeenix
%meta{:content => "width=device-width,initial-scale=1", :name => "viewport"}/
= csrf_meta_tags
= csp_meta_tag
= stylesheet_link_tag "application"
2022-12-07 20:52:32 +01:00
2022-11-29 00:13:46 +01:00
= javascript_importmap_tags
2023-01-08 13:59:24 +01:00
- if Rails.env.development?
%script{:src => "https://cdn.tailwindcss.com"}
- else
= stylesheet_link_tag "tailwind"
2022-11-29 00:13:46 +01:00
%body
= render "layouts/header"
2022-12-20 20:46:58 +01:00
= render "layouts/messages"
2022-11-29 00:13:46 +01:00
= yield
= render "layouts/footer"