!!! 5
/[if IE]
%html.no-js(lang="#{I18n.locale}")
%head
%title= content_for?(:title) ? yield(:title) : t('.title')
%meta(http-equiv='Content-Type' content='text/html; charset=utf-8')
%meta(name='viewport' content='width=device-width, initial-scale=1.0')
%meta(name='description' content='Agende du Libre. Free Software Calendar')
%meta(name='author' content='Emmanuel Charpentier')
%meta(name='robots' content='index, follow')
%meta(name='keywords' content='calendar, agenda, date')
%meta(name='dcterms.title' content='Free Calendar' lang='en')
%meta(name='dcterms.title' content='Agenda du Libre' lang='fr')
%meta(name='dcterms.subject' content='agenda')
= favicon_link_tag '/favicon.ico'
= auto_discovery_link_tag :rss, { controller: '/events', format: :rss }
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
= javascript_include_tag 'application', 'data-turbolinks-track' => true
= csrf_meta_tags
%body(class = "#{controller.controller_name} #{controller.action_name}")
%header.top
= image_tag 'baby_gnu_adl.png', alt: 'Baby GNU', class: :logo
%ul.countries
%li
= link_to 'http://www.agendadulibre.org' do
= image_tag 'france.png', alt: ''
=t '.france'
%li
= link_to 'http://www.agendadulibre.qc.ca' do
= image_tag 'quebec.png', alt: ''
=t '.quebec'
%li
= link_to 'http://www.agendadulibre.be' do
= image_tag 'belgique.png', alt: ''
=t '.belgique'
%li
= link_to 'http://www.agendadulibre.ch' do
= image_tag 'suisse.png', alt: ''
=t '.suisse'
%h1= link_to t('.title'), root_url
%h2=t '.subtitle'
%a#banner(href='http://april.org/campagne')
%img(src='http://www.april.org/campagne/images/priorite-logiciel-libre-je-soutiens-april.png'
width='580' height='76' alt='Priorité au Logiciel Libre! Je soutiens l\'April.')
= render 'layouts/flash', flash: flash if flash.present?
%main= yield
%footer.bottom
%nav
= link_to t('.propose'), new_event_path
= link_to t('.rss'), regions_url
= link_to t('.ical'), icallist_regions_url
= link_to t('.map'), maps_url
= link_to t('.tags'), tags_url
= link_to t('.infos'), application_infos_url
= link_to t('.stats'), stats_regions_url
= link_to t('.contact'), application_contact_url
= link_to t('.moderation'), moderations_url