summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Segundo2024-07-28 15:41:31 +0200
committerChristian Segundo2024-07-28 15:41:31 +0200
commitc0e747fc843184bb7716b6ac2628533f91c5d743 (patch)
tree7fbe2379215177d625dcfe85ea0a48c0e4a98577
parent65a8c0ad238dbfc3a4f05d6447679ebb09e86d28 (diff)
downloadcheck-caps-lock-c0e747fc843184bb7716b6ac2628533f91c5d743.tar.gz
wip
-rw-r--r--hugo.yaml36
1 files 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"