mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 10:09:31 -07:00
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:
@@ -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
3
exampleSite/go.mod
Normal file
@@ -0,0 +1,3 @@
|
||||
module github.com/Sped0n/bridget/exampleSite
|
||||
|
||||
go 1.21.3
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user