chore(hugo.toml): update theme configuration to use "bridget" theme (#131)

* chore(hugo.toml): update theme configuration to use "bridget" theme
feat(go.mod): add "github.com/Sped0n/bridget" module as a dependency with version v0.0.0-20231104151130-eb8ddf657d31
feat(go.sum): add checksum for "github.com/Sped0n/bridget" module with version v0.0.0-20231104151130-eb8ddf657d31

* blind commit
This commit is contained in:
Spedon
2023-11-06 12:47:51 +08:00
committed by GitHub
parent eb8ddf657d
commit 8c2138ce3b
3 changed files with 10 additions and 10 deletions

View File

@@ -20,11 +20,8 @@ enableRobotsTXT = true
# * ko (powered by Noto Sans KR)
defaultContentLanguage = 'en'
# theme as local file WARN: Set the themesdir according to your own situation !!!
themesdir = "../.."
theme = "bridget"
# or theme as module WARN: you should also set `bundled` to true in params.toml !!!
# [module]
# [[module.imports]]
# path = "github.com/Sped0n/bridget"
# theme as module
[module]
replacements = "github.com/Sped0n/bridget -> ../.." # deploy with local dir WARN: delete this line if you want to deploy with git
[[module.imports]]
path = "github.com/Sped0n/bridget" # deploy with git (recommended) WARN: you should also set `bundled` to true in params.toml !!!

3
exampleSite/go.mod Normal file
View File

@@ -0,0 +1,3 @@
module github.com/Sped0n/bridget/exampleSite
go 1.21.3

View File

@@ -14,8 +14,8 @@
"rollup:build": "rollup -c --environment BUILD:production",
"rollup:server": "rollup -c --watch --environment BUILD:production",
"rollup:dev": "rollup -c --watch --environment BUILD:development",
"hugo:build": "hugo --logLevel info --source=exampleSite --themesDir ../.. --gc",
"hugo:preview": "hugo --logLevel info --source=exampleSite --themesDir ../.. -D --gc",
"hugo:build": "hugo --logLevel info --source=exampleSite --gc",
"hugo:preview": "hugo --logLevel info --source=exampleSite -D --gc",
"hugo:dev": "hugo server --source=exampleSite --gc -D --disableFastRender --watch --logLevel info",
"hugo:server": "hugo server --source=exampleSite --gc --disableFastRender -e production --watch --logLevel info"
},