From c0e747fc843184bb7716b6ac2628533f91c5d743 Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Sun, 28 Jul 2024 15:41:31 +0200 Subject: wip --- hugo.yaml | 36 ++++++++++++------------------------ 1 file changed, 12 insertions(+), 24 deletions(-) diff --git a/hugo.yaml b/hugo.yaml index 7eb4b6b..e7067eb 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -6,9 +6,15 @@ title: CHECK CAPS LOCK languageCode: en-us paginate: 5 -# mainsections: ["posts"] - defaultContentLanguage: en + +enableRobotsTXT: true +buildDrafts: false +buildFuture: false +buildExpired: false +disableHugoGeneratorInject: true # no hugo meta in html +capitalizeListTitles: false # otherwise tags get autocapitalized + languages: en: weight: 1 @@ -61,14 +67,6 @@ languages: url: /index.xml weight: 40 -enableRobotsTXT: true -buildDrafts: false -buildFuture: false -buildExpired: false - -# Otherwise tags get autocapitalized -capitalizeListTitles: false - minify: disableXML: true minifyOutput: false @@ -80,25 +78,15 @@ outputs: - JSON # required for search to work permalinks: - posts: ":year/:month/:title/" - -disableHugoGeneratorInject: true + posts: ":year/:month/:title/" # Jekyll style permalinks frontmatter: date: - - :filename - - :default + - :filename # infer date from filename as Jekyll + - :default # fallback to default lastmod: - :fileModTime - :default - expiryDate: - - expirydate - - unpublishdate - publishDate: - - publishdate - - pubdate - - published - - date module: imports: @@ -120,6 +108,7 @@ params: name: "Christian Segundo" email: "christian+check-caps-lock@segundo.io" + # to show the flags in the lang switcher displayFullLangName: true DateFormat: "January 2, 2006" @@ -136,7 +125,6 @@ params: defaultTheme: light disableThemeToggle: true - # hideFooter: true footer: hideCopyright: true text: "dev" -- cgit v1.2.3