diff options
author | hellekin <hellekin@cepheide.org> | 2021-01-22 05:32:15 +0100 |
---|---|---|
committer | hellekin <hellekin@cepheide.org> | 2021-01-22 05:32:15 +0100 |
commit | b54a8458d5029b3494165b7430e21b3ae34ecc0c (patch) | |
tree | 32ea6fc6b8774f672325fec52f0ffc97229a9568 /app/views/layouts/application.html.erb | |
parent | 1c1aead78192982e221179de6688b944e5b01bf6 (diff) | |
download | incommon-map-b54a8458d5029b3494165b7430e21b3ae34ecc0c.tar.gz |
Upgrade Rails and add StimulusJS support
Diffstat (limited to 'app/views/layouts/application.html.erb')
-rw-r--r-- | app/views/layouts/application.html.erb | 55 |
1 files changed, 28 insertions, 27 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 210ace8..bc02585 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -4,33 +4,34 @@ <meta charset="UTF-8"> <title>Carte IN COMMON</title> <meta name="viewport" content="initial-width: device-width initial-scale=1.0 viewport-fit=cover"> - <%= csrf_meta_tags %> - <%= csp_meta_tag %> + <%= csrf_meta_tags %> + <%= csp_meta_tag %> + <%= display_meta_tags site: 'IN COMMON Map' %> - <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> - <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> - <%= yield :head %> - </head> + <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> + <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> + <%= yield :head %> + </head> - <body> - <header> - <h1><%= link_to image_tag("https://talk.incommon.cc/uploads/disc_6_incommon/original/1X/92f926e8210ea7a5412d6e2bdabfa825233e808b.png", alt: "IN COMMON", size: "x4em"), '/' %></h1> - <%= render 'application/user_info' %> - <%= yield :header %> - </header> - <main> - <article> - <%= yield %> - </article> - </main> - <aside> - <%= yield :aside %> - </aside> - <footer> - <%= yield :footer %> - </footer> - <%= render partial: 'debug' %> - <%= render partial: 'flash' %> - <%= yield :body_end %> - </body> + <body> + <header> + <h1><%= link_to image_tag("https://talk.incommon.cc/uploads/disc_6_incommon/original/1X/92f926e8210ea7a5412d6e2bdabfa825233e808b.png", alt: "IN COMMON", size: "x4em"), '/' %></h1> + <%= render 'application/user_info' %> + <%= yield :header %> + </header> + <main> + <article> + <%= yield %> + </article> + </main> + <aside> + <%= yield :aside %> + </aside> + <footer> + <%= yield :footer %> + </footer> + <%= render partial: 'debug' %> + <%= render partial: 'flash' %> + <%= yield :body_end %> + </body> </html> |