Le lien sur le flux rss est plus approprié
This commit is contained in:
parent
19cad28955
commit
3dd6200adb
@ -32,7 +32,7 @@
|
||||
|
||||
- else
|
||||
= month_calendar events: @events,
|
||||
title: ->(start_date) { raw "#{I18n.t('date.month_names')[start_date.month]} #{link_to start_date.year, root_url( year: start_date.year), class: 'year_selector'}" },
|
||||
title: ->(start_date) { raw "#{I18n.t('date.month_names')[start_date.month]} #{link_to start_date.year, root_url(year: start_date.year), class: 'year_selector'}" },
|
||||
previous_link: ->(param, date_range) { link_to '<<', { param => date_range.first - 1.day } },
|
||||
next_link: ->(param, date_range) { link_to '>>', { param => date_range.last + 1.day } } do |date, events|
|
||||
.day_number= date.day
|
||||
|
@ -15,8 +15,8 @@
|
||||
%meta(name='dcterms.title' content='Agenda du Libre' lang='fr')
|
||||
%meta(name='dcterms.subject' content='agenda')
|
||||
|
||||
%link(rel='shortcut icon' href='/favicon.ico')
|
||||
= auto_discovery_link_tag :atom, { format: :atom }
|
||||
= 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
|
||||
|
Loading…
Reference in New Issue
Block a user