feat(templates): Ajoute meta description et améliore titres pages légales.

 feat(translations): Ajoute descriptions pour pages accueil, membres et contact.

 feat(caddy): Ajoute `-X-Robots-Tag` dans la configuration caddy.
This commit is contained in:
Serreau Jovann
2025-11-16 23:27:43 +01:00
parent 7edd13372c
commit 29bcda7500
12 changed files with 20 additions and 6 deletions

View File

@@ -9,7 +9,8 @@ www.e-cosplay.fr {
max_size 100MB
}
header {
Permissions-Policy "accelerometer=(), autoplay=(), camera=(), clipboard-write=(), encrypted-media=(), fullscreen=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), midi=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), usb=(), vr=(), screen-wake-lock=(), xr-spatial-tracking=(), bluetooth=(), ambient-light-sensor=(), battery=(), gamepad=(), notifications=(), push=()"
-X-Robots-Tag
Permissions-Policy "accelerometer=(), autoplay=(), camera=(), clipboard-write=(), encrypted-media=(), fullscreen=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), midi=(), payment=(), publickey-credentials-get=(), usb=(), vr=(), screen-wake-lock=(), xr-spatial-tracking=(), bluetooth=(), ambient-light-sensor=(), battery=(), gamepad=(), notifications=(), push=()"
Content-Security-Policy "
default-src 'none';
script-src 'self' *.cloudflare.com;

View File

@@ -1,6 +1,7 @@
{% extends 'base.twig' %}
{% block title %}{{'about_title'|trans}}{% endblock %}
{% block meta_description %}{{'about_description'|trans}}{% endblock %}
{% block canonical_url %}<link rel="canonical" href="{{ url('app_about') }}" />
{% endblock %}

View File

@@ -2,6 +2,7 @@
{# --- METADATA & SCHEMA --- #}
{% block title %}{{'contact_page.title'|trans}}{% endblock %}
{% block meta_description %}{{'contact_page.description'|trans}}{% endblock %}
{% block canonical_url %}<link rel="canonical" href="{{ url('app_contact') }}" />{% endblock %}
{% block breadcrumb_schema %}

View File

@@ -1,6 +1,7 @@
{% extends 'base.twig' %}
{% block title %}{{'home_page.title'|trans}}{% endblock %}
{% block meta_description %}{{'home_page.description'|trans}}{% endblock %}
{% block canonical_url %}<link rel="canonical" href="{{ url('app_home') }}" />{% endblock %}

View File

@@ -1,6 +1,7 @@
{% extends 'base.twig' %}
{% block title %}{{'cgu_page_title'|trans}} - E-Cosplay{% endblock %}
{% block title %}{{'cgu_page_title'|trans}}{% endblock %}
{% block meta_description %}{{'cgu_page_title'|trans}}{% endblock %}
{% block canonical_url %}<link rel="canonical" href="{{ url('app_cgu') }}" />
{% endblock %}

View File

@@ -1,6 +1,7 @@
{% extends 'base.twig' %}
{% block title %}{{'cgv_page_title'|trans}} - E-Cosplay{% endblock %}
{% block title %}{{'cgv_page_title'|trans}}{% endblock %}
{% block meta_description %}{{'cgv_page_title'|trans}} {% endblock %}
{% block canonical_url %}<link rel="canonical" href="{{ url('app_cgv') }}" />
{% endblock %}

View File

@@ -1,6 +1,7 @@
{% extends 'base.twig' %}
{% block title %}{{'cookie_page_title'|trans}}{% endblock %}
{% block meta_description %}{{'cookie_page_title'|trans}}{% endblock %}
{% block canonical_url %}<link rel="canonical" href="{{ url('app_cookies') }}" />
{% endblock %}

View File

@@ -1,6 +1,7 @@
{% extends 'base.twig' %}
{% block title %}{{'hosting_page_title'|trans}} - E-Cosplay{% endblock %}
{% block title %}{{'hosting_page_title'|trans}}{% endblock %}
{% block meta_description %}{{'hosting_page_title'|trans}}{% endblock %}
{% block canonical_url %}<link rel="canonical" href="{{ url('app_hosting') }}" />
{% endblock %}

View File

@@ -1,6 +1,7 @@
{% extends 'base.twig' %}
{% block title %}{{'legal_page_title'|trans}}{% endblock %}
{% block meta_description %}{{'legal_page_title'|trans}}{% endblock %}
{% block canonical_url %}<link rel="canonical" href="{{ url('app_legal') }}" />
{% endblock %}

View File

@@ -1,6 +1,7 @@
{% extends 'base.twig' %}
{% block title %}{{'rgpd_page_title'|trans}} - E-Cosplay{% endblock %}
{% block title %}{{'rgpd_page_title'|trans}}{% endblock %}
{% block meta_description %}{{'rgpd_page_title'|trans}}{% endblock %}
{% block canonical_url %}<link rel="canonical" href="{{ url('app_rgpd') }}" />
{% endblock %}

View File

@@ -1,6 +1,7 @@
{% extends 'base.twig' %}
{% block title %}{{'members_page.title'|trans}}{% endblock %}
{% block meta_description %}{{'members_description'|trans}}{% endblock %}
{% block canonical_url %}<link rel="canonical" href="{{ url('app_members') }}" />{% endblock %}

View File

@@ -1,6 +1,6 @@
# Clés principales
about_title: Qui Sommes-Nous ?
about_description: Découvrez notre passion pour le cosplay, l'artisanat et l'égalité! Rencontrez nos fondatrices. Participez à nos concours, ateliers et CosHospital.
# Section 1 : Notre Passion
about_section_passion_title: "Notre Passion : Créer l'Imaginaire"
about_passion_association_details: association dédiée à l'art du Cosplay et du CosHopital
@@ -502,3 +502,6 @@ home_activities.diversity_text: "Nous sommes un pilier de soutien pour tous, inc
home_cta.title: "Prêt à Partager votre Passion ?"
home_cta.subtitle: "Adhérez aujourd'hui et faites partie de l'aventure."
home_cta.button: "Adhérer Maintenant"
home_page.description: "Bienvenue dans la communauté e-cosplay ! Votre référence pour les concours, ateliers de craft, et l'entraide. Le cosplay est pour tous, rejoignez notre passion !"
members_description: 'Découvrez les membres actifs de notre association de cosplay ! Rencontrez les bénévoles, juges et organisateurs qui donnent vie à nos événements et activités.'
contact_page.description: 'Contactez-nous pour toute question sur le cosplay, les événements ou les partenariats ! Formulaire de contact direct et emails des fondatrices disponibles ici.'