switched back to global menu setting

This commit is contained in:
maximeg 2024-02-22 14:12:43 +01:00
parent 551ec4cb00
commit e4a40b02d0
4 changed files with 17 additions and 2 deletions

View file

@ -6,6 +6,6 @@ description: "The last theme you'll ever need. Maybe."
theme_version: '2.8.2' theme_version: '2.8.2'
cascade: cascade:
featured_image: '/images/gohugo-default-sample-hero-image.jpg' featured_image: '/images/gohugo-default-sample-hero-image.jpg'
menus: ['main'] #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. 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.

View file

@ -2,7 +2,7 @@
title: "Revue de presse" 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." 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' 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)" >}} {{< figure src="/images/Victor_Hugo-Hunchback.jpg" title="Illustration from Victor Hugo et son temps (1881)" >}}

View file

@ -1,4 +1,5 @@
--- ---
title: Page test title: Page test
#menus: main
--- ---
Ceci est une page de test Ceci est une page de test

View file

@ -12,3 +12,17 @@ favicon = "/images/uploads/logo-association-envie-appartagee.png"
name = "linkedin" name = "linkedin"
url = "https://www.linkedin.com/in/maxime-garnier-/" url = "https://www.linkedin.com/in/maxime-garnier-/"
[[menus.main]]
name = "Accueil"
pageRef = "/"
weight = "1"
[[menus.main]]
name = "Revue de presse"
pageRef = "/pages/Revue de presse"
weight = "1"
[[menus.main]]
name = "Page de test"
pageRef = "/pages/
weight = "1"