diff --git a/static/admin/config.yml b/static/admin/config.yml index a68c5b8..b2fdf2c 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -11,17 +11,12 @@ media_folder: "static/images" public_folder: "/images" collections: - name: pages - label: Pages + #to build a hugo section (look for it) + label: Pages du site label_singular: 'Page' folder: content/pages + path: '{{slug}}/_index' create: true - # adding a nested object will show the collection folder structure - nested: - depth: 100 # max depth to show in the collection tree - summary: '{{title}}' # optional summary for a tree node, defaults to the inferred title field - # adding a path object allows editing the path of entries - # moving an existing entry will move the entire sub tree of the entry to the new location - path: '{{slug}}/index' fields: - label: Titre name: title