mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-22 14:09:30 -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)
|
# * ko (powered by Noto Sans KR)
|
||||||
defaultContentLanguage = 'en'
|
defaultContentLanguage = 'en'
|
||||||
|
|
||||||
# theme as local file WARN: Set the themesdir according to your own situation !!!
|
# theme as module
|
||||||
themesdir = "../.."
|
[module]
|
||||||
theme = "bridget"
|
replacements = "github.com/Sped0n/bridget -> ../.." # deploy with local dir WARN: delete this line if you want to deploy with git
|
||||||
|
[[module.imports]]
|
||||||
# or theme as module WARN: you should also set `bundled` to true in params.toml !!!
|
path = "github.com/Sped0n/bridget" # deploy with git (recommended) WARN: you should also set `bundled` to true in params.toml !!!
|
||||||
# [module]
|
|
||||||
# [[module.imports]]
|
|
||||||
# path = "github.com/Sped0n/bridget"
|
|
||||||
|
|||||||
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:build": "rollup -c --environment BUILD:production",
|
||||||
"rollup:server": "rollup -c --watch --environment BUILD:production",
|
"rollup:server": "rollup -c --watch --environment BUILD:production",
|
||||||
"rollup:dev": "rollup -c --watch --environment BUILD:development",
|
"rollup:dev": "rollup -c --watch --environment BUILD:development",
|
||||||
"hugo:build": "hugo --logLevel info --source=exampleSite --themesDir ../.. --gc",
|
"hugo:build": "hugo --logLevel info --source=exampleSite --gc",
|
||||||
"hugo:preview": "hugo --logLevel info --source=exampleSite --themesDir ../.. -D --gc",
|
"hugo:preview": "hugo --logLevel info --source=exampleSite -D --gc",
|
||||||
"hugo:dev": "hugo server --source=exampleSite --gc -D --disableFastRender --watch --logLevel info",
|
"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"
|
"hugo:server": "hugo server --source=exampleSite --gc --disableFastRender -e production --watch --logLevel info"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user