changed way to add pages
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4cd1cd35df
commit
cc5818abb9
1 changed files with 3 additions and 8 deletions
|
@ -11,17 +11,12 @@ media_folder: "static/images"
|
||||||
public_folder: "/images"
|
public_folder: "/images"
|
||||||
collections:
|
collections:
|
||||||
- name: pages
|
- name: pages
|
||||||
label: Pages
|
#to build a hugo section (look for it)
|
||||||
|
label: Pages du site
|
||||||
label_singular: 'Page'
|
label_singular: 'Page'
|
||||||
folder: content/pages
|
folder: content/pages
|
||||||
|
path: '{{slug}}/_index'
|
||||||
create: true
|
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:
|
fields:
|
||||||
- label: Titre
|
- label: Titre
|
||||||
name: title
|
name: title
|
||||||
|
|
Loading…
Reference in a new issue