From cd98208074b5de8e149e8f57671376cf0ca5ac34 Mon Sep 17 00:00:00 2001 From: Sped0n Date: Sat, 4 Nov 2023 18:36:32 +0800 Subject: [PATCH] chore(hugo.toml): update theme configuration to use local file instead of module for better customization and flexibility chore(go.mod): update Go version to 1.21.3 for compatibility and potential bug fixes --- exampleSite/config/_default/hugo.toml | 14 +++++++------- go.mod | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/exampleSite/config/_default/hugo.toml b/exampleSite/config/_default/hugo.toml index 3906406..ba0e837 100644 --- a/exampleSite/config/_default/hugo.toml +++ b/exampleSite/config/_default/hugo.toml @@ -18,11 +18,11 @@ enableRobotsTXT = true # * ko (powered by Noto Sans KR) defaultContentLanguage = 'en' -# theme as local file -# themesdir = "../.." -# theme = "bridget" +# theme as local file WARN: Set the themesdir according to your own situation !!! +themesdir = "../.." +theme = "bridget" -# theme as module -[module] -[[module.imports]] -path = "github.com/Sped0n/bridget" +# or theme as module WARN: you should also set `bundled` to true in params.toml !!! +# [module] +# [[module.imports]] +# path = "github.com/Sped0n/bridget" diff --git a/go.mod b/go.mod index a469fad..0316be6 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/Sped0n/bridget -go 1.20 +go 1.21.3