From e2efed5a615a7b1f45756a8ac476df62d5041359 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 28 Apr 2024 17:45:28 +0200 Subject: better settings --- config/_default/hugo.toml | 4 +--- config/_default/menus.en.toml | 30 ------------------------------ config/_default/params.toml | 8 +++----- 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 -- cgit v1.2.3