app/views/blocks/_navigation.html.haml
-# coding: utf-8
%nav.navigation{ role: 'navigation' }
.l-container-wide
.navigation-header
- unless request.fullpath == root_path
.navigation-toggle
%button{ type: 'button', data: { target: '.navigation-body', toggle: 'collapse' } }
%span.sr-only Basculer la barre de navigation
%span.icon-bar
%span.icon-bar
%span.icon-bar
= link_to(root_path) do
%i.icon-home{ aria: { hidden: true } }
%span.sr-only Aller à la page d'accueil
.navigation-body
= render 'blocks/navigation_links'