From 697f9cd6113c252166538e8b163bd7a86480d4ba Mon Sep 17 00:00:00 2001 From: wompmacho Date: Fri, 13 Mar 2026 04:25:07 +0000 Subject: [PATCH] final fix for edit --- config/_default/hugo.toml | 5 +---- config/_default/params.toml | 13 ++++++++----- content/projects/lab_setup/index.md | 1 + 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 1d39aac..d0af0c7 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -41,7 +41,4 @@ enableGitInfo = true [markup.tableOfContents] endLevel = 3 ordered = false - startLevel = 2 - -[params.article] - showTableOfContents = true \ No newline at end of file + startLevel = 2 \ No newline at end of file diff --git a/config/_default/params.toml b/config/_default/params.toml index 42a8406..4f82f63 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -6,7 +6,7 @@ # https://nunocoracao.github.io/blowfish/docs/configuration/#theme-parameters colorScheme = "github" -defaultAppearance = "dark" # valid options: light or dark +defaultAppearance = "light" # valid options: light or dark autoSwitchAppearance = true enableSearch = true @@ -43,7 +43,7 @@ customCSS = true showPercent = true showWidth = true -[article] +[article] # https://blowfish.page/docs/configuration/ showDate = true showViews = false showLikes = false @@ -52,9 +52,6 @@ customCSS = true heroStyle = "basic" # valid options: basic, big, background showBreadcrumbs = true showDraftLabel = true - showEditURL = true - editURL = "https://git.wompmacho.com/wompmacho/wiki/" - editAppendPath = true seriesOpened = true showHeadingAnchors = true showPagination = true @@ -67,6 +64,12 @@ customCSS = true sharingLinks = [ "linkedin", "twitter", "whatsapp", "pinterest", "reddit", "facebook", "email"] showAuthor = true showAuthorsBadges = true # This helps style the author profile + showEdit = true + showEditURL = true + editURL = "https://git.wompmacho.com/wompmacho/wiki/src/branch/main/content" + editAppendPath = true + showZenMode = false + smartTOC = true [list] showBreadcrumbs = true diff --git a/content/projects/lab_setup/index.md b/content/projects/lab_setup/index.md index 1e0b4b2..29c393b 100644 --- a/content/projects/lab_setup/index.md +++ b/content/projects/lab_setup/index.md @@ -5,6 +5,7 @@ author: wompmacho date: 2023-07-04T05:33:31.158Z lastmod: 2026-03-08 showHero: false # needed to hide "hero banner" +showEditURL: true --- ---