La description meta de la page principale est plus explicite
This commit is contained in:
parent
0843edac44
commit
21976ed56b
@ -24,7 +24,7 @@ class EventsController < ApplicationController
|
||||
@events = @events.month start_date.change day: 1
|
||||
end
|
||||
|
||||
set_meta_tags description: t('layouts.application.subtitle'),
|
||||
set_meta_tags description: "#{t('layouts.application.subtitle')} - #{start_date ? t('date.month_names')[start_date.month] : ''} #{start_date ? start_date.year.to_s : params[:year]} - #{t '.nb_events', count: @events.size}",
|
||||
keywords: @events.pluck(:tags)
|
||||
.join(' ')
|
||||
.split
|
||||
|
@ -21,12 +21,13 @@ fr:
|
||||
# Base de données
|
||||
activerecord:
|
||||
models:
|
||||
admin_user: Admin
|
||||
comment: Commentaire
|
||||
event: Événement
|
||||
user: Modérateur
|
||||
lug: Gull
|
||||
city: Ville
|
||||
region: Région
|
||||
lug: Gull
|
||||
admin_user: Admin
|
||||
comment: Commentaire
|
||||
i18n/backend/active_record/translation: Contenu
|
||||
attributes:
|
||||
user:
|
||||
@ -115,6 +116,7 @@ fr:
|
||||
index:
|
||||
calendar_in: Ce calendrier en %{rss}, %{webcal} ou %{ical}
|
||||
all_regions: Toutes les régions
|
||||
nb_events: "%{count} événements"
|
||||
show:
|
||||
lug-list: Groupes d'utilisateurs de la région
|
||||
add_to_calendar: Ajouter à mon calendrier
|
||||
|
Loading…
Reference in New Issue
Block a user