From 0ddda460eac74095de7ae5f5a0e144dde77cd2bd Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Wed, 26 May 2021 12:21:35 +0200 Subject: [PATCH] suite --- app/views/layouts/public.html.haml | 8 ++++++-- app/views/public/shared/_ga.html.erb | 5 ++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index 7505257..305b825 100644 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -10,8 +10,12 @@ !!! - @social_url = @social_url || request.url.to_s --if @description and @description == "" - - @description = qit "SEO texte description par défaut 2","" + +-if @title.to_s == "" + - @title = "Festival Musifrat French Alps : 2 Jours de concerts Rock Pop Blues" + +-if @description.to_s == "" + - @description = "2nde Edition du Festival, l'unique rencontre en France entre la Musique et le Rugby. 9 artistes les 25 et 26 Juin 2021 pour se déconfiner les oreilles en plein air et en sécurité." %html{:lang => "fr", "xml:lang" => "fr", :xmlns => "http://www.w3.org/1999/xhtml"} %head diff --git a/app/views/public/shared/_ga.html.erb b/app/views/public/shared/_ga.html.erb index 37038c2..fe2ae14 100644 --- a/app/views/public/shared/_ga.html.erb +++ b/app/views/public/shared/_ga.html.erb @@ -1,14 +1,13 @@ - + -