Update blueprints for multilingual support
- Extract investigations field to separate file for reusability - Fix investigations query to work with multilingual pages - Use site.find() instead of page() for multilingual compatibility Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
73099b53d9
commit
9c874f0af1
3 changed files with 15 additions and 14 deletions
9
site/blueprints/fields/investigations.yml
Normal file
9
site/blueprints/fields/investigations.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
label: Enquêtes
|
||||
type: pages
|
||||
parent: page('enquetes')
|
||||
layout: cards
|
||||
text: "{{ page.title }}, {{ page.subtitle }}"
|
||||
info: "{{ page.incidentConsequences }} à {{ page.incidentLocation }}"
|
||||
image:
|
||||
cover: true
|
||||
ratio: 16/9
|
||||
Loading…
Add table
Add a link
Reference in a new issue