summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2024-04-28 17:45:28 +0200
committerChristoph Cullmann <cullmann@kde.org>2024-04-28 17:45:28 +0200
commite2efed5a615a7b1f45756a8ac476df62d5041359 (patch)
tree7ba6f22c546dc9b7feb18c42981c304b956cc762
parent3f3ec83cca3e4658eecfea5fea4cdafb634ea269 (diff)
better settings
-rw-r--r--config/_default/hugo.toml4
-rw-r--r--config/_default/menus.en.toml30
-rw-r--r--config/_default/params.toml8
3 files changed, 4 insertions, 38 deletions
diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml
index 1218e9b..a91dbc6 100644
--- a/config/_default/hugo.toml
+++ b/config/_default/hugo.toml
@@ -7,10 +7,8 @@ baseURL = "https://cullmann.io/"
defaultContentLanguage = "en"
disableLanguages = [] #to allow translation work requiring shipping to production
-# pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles
-
enableRobotsTXT = true
-paginate = 100
+paginate = 12
summaryLength = 30
hasCJKLanguage = true
diff --git a/config/_default/menus.en.toml b/config/_default/menus.en.toml
index 5cddf95..cf8d6c0 100644
--- a/config/_default/menus.en.toml
+++ b/config/_default/menus.en.toml
@@ -40,31 +40,6 @@
pageRef = "impressum"
weight = 50
-
-#[[main]]
-# name = "Test"
-# pageRef = "pagTest"
-# weight = 1000
-#
-# [[main]]
-# identifier = "twitter"
-# pre = "x-twitter"
-# url = "https://twitter.com/burufugu"
-# weight = 200
-
-#[[main]]
-# identifier = "mastodon"
-# pre = "mastodon"
-# weight = 300
-# url = "https://masto.ai/@blowfish"
-
-# [[main]]
-# identifier = "github"
-# pre = "github"
-# url = "https://github.com/nunocoracao/blowfish"
-# weight = 400
-
-
# -- Footer Menu --
# The footer menu is displayed at the bottom of the page, just before
# the copyright notice. Configure as per the main menu above.
@@ -73,8 +48,3 @@
name = "Tags"
pageRef = "tags"
weight = 10
- #
- # [[footer]]
- # name = "Authors"
- # pageRef = "authors"
- # weight = 20
diff --git a/config/_default/params.toml b/config/_default/params.toml
index a00e089..d2a4008 100644
--- a/config/_default/params.toml
+++ b/config/_default/params.toml
@@ -13,7 +13,6 @@ enableSearch = true
enableCodeCopy = true
mainSections = ["posts"]
-# robots = ""
disableImageOptimization = false
disableTextInHeader = false
@@ -48,8 +47,8 @@ smartTOCHideUnfocusedChildren = false
[article]
showDate = false
- showViews = true
- showLikes = true
+ showViews = false
+ showLikes = false
showDateOnlyInArticle = false
showDateUpdated = false
showAuthor = true
@@ -59,8 +58,7 @@ smartTOCHideUnfocusedChildren = false
layoutBackgroundBlur = true # only used when heroStyle equals background
showBreadcrumbs = true
showDraftLabel = true
- showEdit = true
- editURL = "https://github.com/nunocoracao/blowfish/tree/main/exampleSite/content"
+ showEdit = false
editAppendPath = true
seriesOpened = false
showHeadingAnchors = true