adding thredded forums
This commit is contained in:
23
app/views/layouts/thredded_layout.haml
Normal file
23
app/views/layouts/thredded_layout.haml
Normal file
@ -0,0 +1,23 @@
|
||||
!!!
|
||||
%html
|
||||
%head
|
||||
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
|
||||
%title
|
||||
Forum #{yield :thredded_page_title}
|
||||
%meta{:content => "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0", :name => "viewport"}/
|
||||
= stylesheet_link_tag "tailwind"
|
||||
= stylesheet_link_tag 'thredded', 'data-turbolinks-track': 'reload'
|
||||
= stylesheet_link_tag "application"
|
||||
= csrf_meta_tag
|
||||
= csp_meta_tag
|
||||
= javascript_include_tag 'thredded', |
|
||||
async: !Rails.application.config.assets.debug, |
|
||||
defer: true, |
|
||||
'data-turbolinks-track': 'reload' |
|
||||
= RailsGravatar.prefetch_dns_tag
|
||||
%meta{:content => "width=device-width, initial-scale=1, user-scalable=no", :name => "viewport"}/
|
||||
%body
|
||||
= render "layouts/header"
|
||||
= render "layouts/messages"
|
||||
= yield
|
||||
= render "layouts/footer"
|
Reference in New Issue
Block a user