home page

This commit is contained in:
2026-01-19 16:28:42 +01:00
parent 263f5bfc57
commit 3d3d01e653
29 changed files with 1611 additions and 13 deletions

View File

@@ -6,7 +6,9 @@ dependencies:
- field.field.node.static.body
- node.type.static
module:
- advanced_text_formatter
- field_group
- maxlength
- path
- text
third_party_settings:
@@ -14,7 +16,6 @@ third_party_settings:
group_details:
children:
- langcode
- translation
label: Details
region: content
parent_name: ''
@@ -42,10 +43,18 @@ content:
region: content
settings:
rows: 9
summary_rows: 3
summary_rows: 10
placeholder: ''
show_summary: false
third_party_settings: { }
third_party_settings:
maxlength:
maxlength_js: null
maxlength_js_label: 'Contenu limité à @limit caractères, restant : <strong>@remaining</strong>'
maxlength_js_summary: null
maxlength_js_label_summary: 'Contenu limité à @limit caractères, restant : <strong>@remaining</strong>'
maxlength_js_enforce: false
advanced_text_formatter:
show_token_tree: 0
created:
type: datetime_timestamp
weight: 4

View File

@@ -0,0 +1,49 @@
uuid: 522686f4-4476-44da-90b7-01c41efdb51a
langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.node.home
- field.field.node.chapitre.body
- field.field.node.chapitre.field_chapitre_num
- field.field.node.chapitre.field_parties
- node.type.chapitre
module:
- layout_builder
- text
- user
third_party_settings:
layout_builder:
enabled: false
allow_custom: false
id: node.chapitre.home
targetEntityType: node
bundle: chapitre
mode: home
content:
body:
type: text_summary_or_trimmed
label: hidden
settings:
trim_length: 600
third_party_settings: { }
weight: 1
region: content
field_chapitre_num:
type: number_integer
label: inline
settings:
thousand_separator: ''
prefix_suffix: true
third_party_settings: { }
weight: 0
region: content
links:
settings: { }
third_party_settings: { }
weight: 2
region: content
hidden:
field_parties: true
langcode: true
search_api_excerpt: true

View File

@@ -0,0 +1,39 @@
uuid: c87053aa-10df-4e5b-98f8-0b0a76f06a16
langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.node.home
- field.field.node.static.body
- node.type.static
module:
- layout_builder
- text
- user
third_party_settings:
layout_builder:
enabled: false
allow_custom: false
_core:
default_config_hash: 9mgezio6-8HiMYhQHSfouZjKyY4BFKR71Yh4kbSmAYU
id: node.static.home
targetEntityType: node
bundle: static
mode: home
content:
body:
type: text_summary_or_trimmed
label: hidden
settings:
trim_length: 600
third_party_settings: { }
weight: 0
region: content
links:
settings: { }
third_party_settings: { }
weight: 1
region: content
hidden:
langcode: true
search_api_excerpt: true

View File

@@ -0,0 +1,39 @@
uuid: dc86777a-d572-4e87-b4f1-0413cccb1a02
langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.node.teaser
- field.field.node.static.body
- node.type.static
module:
- layout_builder
- text
- user
third_party_settings:
layout_builder:
enabled: false
allow_custom: false
_core:
default_config_hash: 9mgezio6-8HiMYhQHSfouZjKyY4BFKR71Yh4kbSmAYU
id: node.static.teaser
targetEntityType: node
bundle: static
mode: teaser
content:
body:
type: text_summary_or_trimmed
label: hidden
settings:
trim_length: 100
third_party_settings: { }
weight: 0
region: content
links:
settings: { }
third_party_settings: { }
weight: 1
region: content
hidden:
langcode: true
search_api_excerpt: true

View File

@@ -0,0 +1,13 @@
uuid: a7558c64-a75d-42d5-a75e-68c909b019fd
langcode: fr
status: false
dependencies:
module:
- block_content
_core:
default_config_hash: Q7yUUYeRLByl-MCGveKKF_KhAtNICLCMJuKWfugCvso
id: block_content.full
label: Complet
description: ''
targetEntityType: block_content
cache: true

View File

@@ -0,0 +1,11 @@
uuid: 5c23d4c6-8032-4d42-a111-6e2d1a31fc37
langcode: fr
status: true
dependencies:
module:
- node
id: node.home
label: home
description: ''
targetEntityType: node
cache: true

View File

@@ -11,6 +11,7 @@ module:
better_exposed_filters: 0
block: 0
block_class: 0
block_content: 0
breakpoint: 0
bulkdelete: 0
cer: 0
@@ -40,6 +41,7 @@ module:
editor: 0
email_registration: 0
embed: 0
entity_block: 0
entity_browser: 0
entity_browser_enhanced: 0
field: 0
@@ -54,6 +56,8 @@ module:
image: 0
inline_entity_form: 0
language: 0
layout_builder: 0
layout_discovery: 0
link: 0
link_attributes: 0
linkit: 0
@@ -68,6 +72,8 @@ module:
node: 0
options: 0
page_cache: 0
page_manager: 0
page_manager_ui: 0
pagerer: 0
path: 0
path_alias: 0

View File

@@ -4,6 +4,7 @@ status: true
dependencies:
config:
- field.storage.node.body
- filter.format.wysiwyg
- node.type.static
module:
- text
@@ -22,5 +23,6 @@ default_value_callback: ''
settings:
display_summary: true
required_summary: false
allowed_formats: { }
allowed_formats:
- wysiwyg
field_type: text_with_summary

View File

@@ -0,0 +1,21 @@
uuid: a17026db-c6b5-4a6d-9eb2-dc648d8faaba
langcode: en
status: true
dependencies:
module:
- block_content
- text
_core:
default_config_hash: eS0snV_L3dx9shtWRTzm5eblwOJ7qKWC9IE-4GMTDFc
id: block_content.body
field_name: body
entity_type: block_content
type: text_with_summary
settings: { }
module: text
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: true
custom_storage: false

View File

@@ -0,0 +1,12 @@
uuid: fb91329a-cf33-4771-8563-a03002a85f56
langcode: fr
status: true
dependencies: { }
id: home
label: home
description: ''
use_admin_theme: false
path: /home
access_logic: and
access_conditions: { }
parameters: { }

View File

@@ -0,0 +1,18 @@
uuid: f03ff0d8-0f57-4d38-a451-4a98af9a8ff9
langcode: fr
status: true
dependencies: { }
_core:
default_config_hash: RCVWP-yHwxSNiQORMIabDgHMEVqOMW58w80BQgRFJ4k
id: node_view
label: 'Node view'
description: 'When enabled, this overrides the default Drupal behavior for displaying nodes at <em>/node/{node}</em>. If you add variants, you may use selection criteria such as node type or language or user access to provide different views of nodes. If no variant is selected, the default Drupal node view will be used. This page only affects nodes viewed as pages, it will not affect nodes viewed in lists or at other locations.'
use_admin_theme: false
path: '/node/{node}'
access_logic: and
access_conditions: { }
parameters:
node:
machine_name: node
label: Nœud
type: 'entity:node'

View File

@@ -0,0 +1,59 @@
uuid: 963f9420-969f-470d-9456-3fc481f7661f
langcode: fr
status: true
dependencies:
config:
- page_manager.page.home
- views.view.chapitres
module:
- entity_block
- layout_discovery
- views
id: home-layout_builder-0
label: 'Layout Builder'
weight: 0
variant: layout_builder
variant_settings:
id: layout_builder
label: null
weight: 0
uuid: 3a14630d-426d-4294-bdca-f76a37ffced7
sections:
-
layout_id: layout_onecol
layout_settings:
label: main
context_mapping: { }
components:
e318efd7-86c6-4a38-a53e-825027ccd254:
uuid: e318efd7-86c6-4a38-a53e-825027ccd254
region: content
configuration:
id: 'entity_block:node'
label: 'Présentation (Contenu)'
label_display: '0'
provider: entity_block
view_mode: home
context_mapping: { }
entity: '1'
weight: 0
additional: { }
3f8348bb-e1d8-485a-9914-dcdf777d9b73:
uuid: 3f8348bb-e1d8-485a-9914-dcdf777d9b73
region: content
configuration:
id: 'views_block:chapitres-block_1'
label: ''
label_display: '0'
provider: views
context_mapping: { }
views_label: ''
items_per_page: none
exposed: { }
weight: 1
additional: { }
third_party_settings: { }
page: home
selection_criteria: { }
selection_logic: and
static_context: { }

View File

@@ -8,7 +8,7 @@ slogan: ''
page:
403: ''
404: ''
front: /node/1
front: /home
admin_compact_mode: false
weight_select_max: 100
default_langcode: fr

View File

@@ -0,0 +1,553 @@
uuid: b28999fa-6d0e-47b7-9646-9a4fe6965d95
langcode: fr
status: true
dependencies:
module:
- block_content
- user
_core:
default_config_hash: HfvTcWhiVuvxchoh4DjIkXhKkj9ow2TGgHkLHSvRLq8
id: block_content
label: 'Blocs de contenu'
module: views
description: 'Trouver et gérer les blocs de contenu.'
tag: default
base_table: block_content_field_data
base_field: id
display:
default:
id: default
display_title: 'Par défaut'
display_plugin: default
position: 0
display_options:
title: 'Blocs de contenu'
fields:
info:
id: info
table: block_content_field_data
field: info
relationship: none
group_type: group
admin_label: ''
entity_type: null
entity_field: info
plugin_id: field
label: 'Description du bloc'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
type:
id: type
table: block_content_field_data
field: type
relationship: none
group_type: group
admin_label: ''
entity_type: block_content
entity_field: type
plugin_id: field
label: 'Type de bloc'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: target_id
type: entity_reference_label
settings:
link: false
group_column: target_id
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
changed:
id: changed
table: block_content_field_data
field: changed
relationship: none
group_type: group
admin_label: ''
entity_type: block_content
entity_field: changed
plugin_id: field
label: 'Mis à jour'
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
type: timestamp
settings:
date_format: short
custom_date_format: ''
timezone: ''
tooltip:
date_format: long
custom_date_format: ''
time_diff:
enabled: false
future_format: '@interval hence'
past_format: '@interval ago'
granularity: 2
refresh: 60
operations:
id: operations
table: block_content
field: operations
relationship: none
group_type: group
admin_label: ''
entity_type: block_content
plugin_id: entity_operations
label: Actions
exclude: false
alter:
alter_text: false
text: ''
make_link: false
path: ''
absolute: false
external: false
replace_spaces: false
path_case: none
trim_whitespace: false
alt: ''
rel: ''
link_class: ''
prefix: ''
suffix: ''
target: ''
nl2br: false
max_length: 0
word_boundary: true
ellipsis: true
more_link: false
more_link_text: ''
more_link_path: ''
strip_tags: false
trim: false
preserve_tags: ''
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
destination: true
pager:
type: mini
options:
offset: 0
pagination_heading_level: h4
items_per_page: 50
total_pages: null
id: 0
tags:
next: 'Suivant '
previous: ' Précédent'
expose:
items_per_page: false
items_per_page_label: 'Éléments par page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- Tout -'
offset: false
offset_label: Décalage
exposed_form:
type: basic
options:
submit_button: Appliquer
reset_button: true
reset_button_label: Réinitialiser
exposed_sorts_label: 'Trier par'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: perm
options:
perm: 'access block library'
cache:
type: tag
options: { }
empty:
area_text_custom:
id: area_text_custom
table: views
field: area_text_custom
relationship: none
group_type: group
admin_label: ''
plugin_id: text_custom
empty: true
content: "Il n'y a pas de bloc de contenu disponible."
tokenize: false
block_content_listing_empty:
id: block_content_listing_empty
table: block_content
field: block_content_listing_empty
relationship: none
group_type: group
admin_label: ''
entity_type: block_content
plugin_id: block_content_listing_empty
label: ''
empty: true
sorts: { }
arguments: { }
filters:
info:
id: info
table: block_content_field_data
field: info
relationship: none
group_type: group
admin_label: ''
entity_type: block_content
entity_field: info
plugin_id: string
operator: contains
value: ''
group: 1
exposed: true
expose:
operator_id: info_op
label: 'Description du bloc'
description: ''
use_operator: false
operator: info_op
operator_limit_selection: false
operator_list: { }
identifier: info
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
type:
id: type
table: block_content_field_data
field: type
relationship: none
group_type: group
admin_label: ''
entity_type: block_content
entity_field: type
plugin_id: bundle
operator: in
value: { }
group: 1
exposed: true
expose:
operator_id: type_op
label: 'Type de bloc'
description: ''
use_operator: false
operator: type_op
operator_limit_selection: false
operator_list: { }
identifier: type
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
administrator: '0'
reduce: false
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
reusable:
id: reusable
table: block_content_field_data
field: reusable
relationship: none
group_type: group
admin_label: ''
entity_type: block_content
entity_field: reusable
plugin_id: boolean
operator: '='
value: '1'
group: 1
exposed: false
expose:
operator_id: ''
label: ''
description: ''
use_operator: false
operator: ''
operator_limit_selection: false
operator_list: { }
identifier: ''
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
is_grouped: false
group_info:
label: ''
description: ''
identifier: ''
optional: true
widget: select
multiple: false
remember: false
default_group: All
default_group_multiple: { }
group_items: { }
style:
type: table
options:
grouping: { }
row_class: ''
default_row_class: true
columns:
info: info
type: type
changed: changed
operations: operations
default: changed
info:
info:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
type:
sortable: true
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
changed:
sortable: true
default_sort_order: desc
align: ''
separator: ''
empty_column: false
responsive: ''
operations:
sortable: false
default_sort_order: asc
align: ''
separator: ''
empty_column: false
responsive: ''
override: true
sticky: false
summary: ''
empty_table: true
caption: ''
description: ''
row:
type: fields
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
header: { }
footer: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user.permissions
tags: { }
page_1:
id: page_1
display_title: Page
display_plugin: page
position: 1
display_options:
display_extenders: { }
path: admin/content/block
menu:
type: tab
title: Blocs
description: 'Créer et modifier les blocs de contenu.'
weight: 0
menu_name: admin
parent: system.admin_content
context: '0'
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- url.query_args
- user.permissions
tags: { }

View File

@@ -0,0 +1,175 @@
uuid: 9eece6d3-6ae6-4b98-863a-489d8d76499d
langcode: fr
status: true
dependencies:
config:
- core.entity_view_mode.node.home
- node.type.chapitre
module:
- node
- user
id: chapitres
label: Chapitres
module: views
description: ''
tag: ''
base_table: node_field_data
base_field: nid
display:
default:
id: default
display_title: Default
display_plugin: default
position: 0
display_options:
title: Chapitres
fields:
title:
id: title
table: node_field_data
field: title
relationship: none
group_type: group
admin_label: ''
entity_type: node
entity_field: title
plugin_id: field
label: ''
exclude: false
alter:
alter_text: false
make_link: false
absolute: false
word_boundary: false
ellipsis: false
strip_tags: false
trim: false
html: false
element_type: ''
element_class: ''
element_label_type: ''
element_label_class: ''
element_label_colon: true
element_wrapper_type: ''
element_wrapper_class: ''
element_default_classes: true
empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true
click_sort_column: value
type: string
settings:
link_to_entity: true
group_column: value
group_columns: { }
group_rows: true
delta_limit: 0
delta_offset: 0
delta_reversed: false
delta_first_last: false
multi_type: separator
separator: ', '
field_api_classes: false
pager:
type: none
options:
offset: 0
items_per_page: null
exposed_form:
type: basic
options:
submit_button: Appliquer
reset_button: false
reset_button_label: Réinitialiser
exposed_sorts_label: 'Trier par'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: perm
options:
perm: 'access content'
cache:
type: tag
options: { }
empty: { }
sorts:
field_chapitre_num_value:
id: field_chapitre_num_value
table: node__field_chapitre_num
field: field_chapitre_num_value
relationship: none
group_type: group
admin_label: ''
plugin_id: standard
order: ASC
expose:
label: ''
field_identifier: ''
exposed: false
arguments: { }
filters:
status:
id: status
table: node_field_data
field: status
entity_type: node
entity_field: status
plugin_id: boolean
value: '1'
group: 1
expose:
operator: ''
type:
id: type
table: node_field_data
field: type
entity_type: node
entity_field: type
plugin_id: bundle
value:
chapitre: chapitre
style:
type: default
row:
type: 'entity:node'
options:
relationship: none
view_mode: home
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
css_class: views-home-chapitres
header: { }
footer: { }
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- 'user.node_grants:view'
- user.permissions
tags: { }
block_1:
id: block_1
display_title: Block
display_plugin: block
position: 1
display_options:
display_extenders: { }
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- 'user.node_grants:view'
- user.permissions
tags: { }