From c939c7f95ae09d9b32c4046d73c7aa1396ac59b4 Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Tue, 1 Apr 2025 17:21:16 +0200 Subject: [PATCH] Fixes to exampleSite, adding menu etc. Thanks @jmooring. --- exampleSite/hugo.yaml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/exampleSite/hugo.yaml b/exampleSite/hugo.yaml index 66a513e..ff2d543 100644 --- a/exampleSite/hugo.yaml +++ b/exampleSite/hugo.yaml @@ -6,10 +6,6 @@ languageCode: "en-GB" defaultContentLanguage: "en" pluralizelisttitles: false removePathAccents: true -rssLimit: 20 -pagination: - pagerSize: 10 - path: page outputFormats: SearchIndex: @@ -34,10 +30,27 @@ params: logoWidth: 64 mobileMenu: true poweredby: true - realfavicongenerator: true sidebar: true submitted: true author: name: "Your Name" url: "https://example.org/somepage" avatar: "path/to/some-image.jpg" + +menus: + main: + - name: Home + pageRef: / + weight: 10 + - name: Documentation + pageRef: /documentation + weight: 20 + - name: About + pageRef: /about + weight: 30 + - name: Contact + pageRef: /contact + weight: 40 + - name: Search + pageRef: /search + weight: 50