changed menu config
This commit is contained in:
parent
7b29257253
commit
deaf0f5678
3 changed files with 34 additions and 23 deletions
11
content/index.md
Normal file
11
content/index.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
title: "Ananke: a Hugo Theme"
|
||||
|
||||
description: "The last theme you'll ever need. Maybe."
|
||||
# 1. To ensure Netlify triggers a build on our exampleSite instance, we need to change a file in the exampleSite directory.
|
||||
theme_version: '2.8.2'
|
||||
cascade:
|
||||
featured_image: '/images/gohugo-default-sample-hero-image.jpg'
|
||||
menus: ['main']
|
||||
---
|
||||
Welcome to my blog with some of my work in progress. I've been working on this book idea. You can read some of the chapters below.
|
|
@ -2,7 +2,7 @@
|
|||
title: "Revue de presse"
|
||||
description: "A few years ago, while visiting or, rather, rummaging about Notre-Dame, the author of this book found, in an obscure nook of one of the towers, the following word, engraved by hand upon the wall: —ANANKE."
|
||||
featured_image: '/images/Victor_Hugo-Hunchback.jpg'
|
||||
#menus: ['main']
|
||||
menus: ['main']
|
||||
---
|
||||
{{< figure src="/images/Victor_Hugo-Hunchback.jpg" title="Illustration from Victor Hugo et son temps (1881)" >}}
|
||||
|
||||
|
|
|
@ -98,28 +98,28 @@ collections:
|
|||
- name: url
|
||||
label: 'Lien du compte'
|
||||
widget: string
|
||||
- label: 'Paramètres du menu'
|
||||
name: menus
|
||||
widget: object
|
||||
collapsed: true
|
||||
fields:
|
||||
- label: 'Menu en haut'
|
||||
name: main
|
||||
widget: list
|
||||
collapsed: true
|
||||
summary: '{{fields.name | upper}}'
|
||||
add_to_top: false
|
||||
label_singular: 'Sous menu'
|
||||
fields:
|
||||
- label: 'Nom dans le menu'
|
||||
name: name
|
||||
widget: string
|
||||
- label: 'Page référencée'
|
||||
name: pageRef
|
||||
widget: string
|
||||
- label: 'Poids'
|
||||
name: weight
|
||||
widget: number
|
||||
# - label: 'Paramètres du menu'
|
||||
# name: menus
|
||||
# widget: object
|
||||
# collapsed: true
|
||||
# fields:
|
||||
# - label: 'Menu en haut'
|
||||
# name: main
|
||||
# widget: list
|
||||
# collapsed: true
|
||||
# summary: '{{fields.name | upper}}'
|
||||
# add_to_top: false
|
||||
# label_singular: 'Sous menu'
|
||||
# fields:
|
||||
# - label: 'Nom dans le menu'
|
||||
# name: name
|
||||
# widget: string
|
||||
# - label: 'Page référencée'
|
||||
# name: pageRef
|
||||
# widget: string
|
||||
# - label: 'Poids'
|
||||
# name: weight
|
||||
# widget: number
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue