agenda-libre-ruby/app/views/layouts/application.html.haml

47 lines
1.9 KiB
Plaintext
Raw Normal View History

2013-11-24 16:11:44 +01:00
!!! 5
/[if IE]
%html(lang="#{I18n.locale}")
%head
%title AgendaDuLibreRails
%meta(http-equiv='Content-Type' content='text/html; charset=utf-8')
%meta(name='description' content='Parlement, a mix between direct and representative democracy, in the shape of a website. A mailing list, forum, chat. Democratic mailing list and forum')
%meta(name='author' content='Emmanuel Charpentier')
%meta(name='robots' content='index, follow')
%meta(name='keywords' content='collaborative writing, democracy, direct democracy, representative democracy, forum, mailing list, chat, Ruby on Rails, PostgreSQL')
%meta(name='dcterms.title' content='Parlement' lang='en')
%meta(name='dcterms.title' content='Parlement' lang='fr')
%meta(name='dcterms.subject' content='Parlement, democratic mailing list and forum')
-#%link(rel='shortcut icon' href='/assets/favicon.ico')
%link(rel='icon' type='image/png' href='/assets/world.png')
= auto_discovery_link_tag :atom, { format: :atom }
= stylesheet_link_tag 'application', media: "all", "data-turbolinks-track" => true
= javascript_include_tag 'application', "data-turbolinks-track" => true
/[if lt IE 9]
%script(src='http://html5shiv.googlecode.com/svn/trunk/html5.js')
= csrf_meta_tags
// = javascript_include_tag 'html5'
// = javascript_include_tag 'PIE'
// /https://github.com/aFarkas/iepp/wiki
%body(class = "#{controller.controller_name}")
= render 'layouts/flash', flash: flash if flash.present?
%header.top
%h1= link_to 'Agenda du libre', root_url
= yield
%footer.bottom
%nav
= link_to User.model_name.human.capitalize.pluralize, users_url
= link_to 'Forge', 'http://rubyforge.org/projects/parlement'
= link_to 'AGPL', 'http://www.gnu.org/licenses/agpl.html'
= link_to 'fr', '/fr', class: 'fr'
%span.version=t :version, version: 1.99