From e4a40b02d0c392dec6719b79ce8aca9bf6a2c1c1 Mon Sep 17 00:00:00 2001 From: maximeg Date: Thu, 22 Feb 2024 14:12:43 +0100 Subject: [PATCH] switched back to global menu setting --- content/index.md | 2 +- content/pages/Revue de presse/index.md | 2 +- content/pages/index.md | 1 + hugo_config/_default/theme_settings.toml | 14 ++++++++++++++ 4 files changed, 17 insertions(+), 2 deletions(-) diff --git a/content/index.md b/content/index.md index 21dbf27..43b9bc2 100644 --- a/content/index.md +++ b/content/index.md @@ -6,6 +6,6 @@ description: "The last theme you'll ever need. Maybe." theme_version: '2.8.2' cascade: 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. \ No newline at end of file diff --git a/content/pages/Revue de presse/index.md b/content/pages/Revue de presse/index.md index 1b0a2ca..8d7c496 100644 --- a/content/pages/Revue de presse/index.md +++ b/content/pages/Revue de presse/index.md @@ -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)" >}} diff --git a/content/pages/index.md b/content/pages/index.md index 4d8f608..a657b2f 100644 --- a/content/pages/index.md +++ b/content/pages/index.md @@ -1,4 +1,5 @@ --- title: Page test +#menus: main --- Ceci est une page de test diff --git a/hugo_config/_default/theme_settings.toml b/hugo_config/_default/theme_settings.toml index 06f0919..fff2894 100644 --- a/hugo_config/_default/theme_settings.toml +++ b/hugo_config/_default/theme_settings.toml @@ -12,3 +12,17 @@ favicon = "/images/uploads/logo-association-envie-appartagee.png" name = "linkedin" 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" \ No newline at end of file