Kleinere Anpassungen für Seiten- und Navigations- Bearbeitung.

This commit is contained in:
2022-05-30 15:57:11 +02:00
parent c67f712280
commit 5d08a96327
11 changed files with 32 additions and 23 deletions

View File

@@ -25,7 +25,7 @@ meta:
primaryText: path
columns:
- source: path
twig: "{{locale}}{{path}}"
twig: "{{path}}"
- source: locale
type: flag
# Desktop
@@ -33,7 +33,7 @@ meta:
mediaQuery: "(min-width:600px)"
columns:
- source: path
twig: "{{locale}}{{path}}"
twig: "{{path}}"
- source: locale
type: flag
@@ -107,15 +107,14 @@ hooks:
# Feldliste der Kollektion
fields:
- !include fields/_locale.yml
- name: name
type: string
meta:
label: { de: "Name der Page (optional)", en: "Page Name (optional)" }
- name: path
type: string
index: [single, unique]
meta:
label: { de: "Pfad", en: "Path" }
helperText:
de: "Der Pfad muss eindeutig sein und ohne ein Slash (/) beginnen und enden."
en: "The path must be unique and must start and end without a slash (/)."
- name: blocks
type: object[]
meta:

View File

@@ -112,7 +112,7 @@ x-page: &page
endpoint: "content"
mapping:
id: "path"
name: "name"
name: "path"
params:
count: 1
sort: "ASC"