Merge pull request #1557 from betagouv/add-titles

Add titles
This commit is contained in:
gregoirenovel 2018-03-06 17:37:23 +01:00 committed by GitHub
commit c737455b98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,5 @@
- content_for(:title, 'Accessibilité')
.accessibilite
%h1.new-h1 Accessibilité

View file

@ -8,7 +8,7 @@
= csrf_meta_tags
%title
= content_for?(:title) ? yield(:title) : "demarches-simplifiees.fr"
= content_for?(:title) ? "#{yield(:title)} · demarches-simplifiees.fr" : "demarches-simplifiees.fr"
= favicon_link_tag(image_url("favicons/16x16.png"), type: "image/png", sizes: "16x16")
= favicon_link_tag(image_url("favicons/32x32.png"), type: "image/png", sizes: "32x32")

View file

@ -1,3 +1,5 @@
- content_for(:title, 'Statistiques')
.statistiques
%h1.new-h1 Statistiques