mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 20:13:31 +08:00
Turn stack theme into a hugo module
This commit is contained in:
parent
86cbc1b682
commit
34f08dda70
@ -35,7 +35,10 @@ It's necessary to use **Hugo Extended ≥ 0.87.0**.
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Clone / Download this repository to `theme` folder, and edit your site config following `exampleSite/config.yaml`.
|
* Route 1: Clone / Download this repository to `theme` folder
|
||||||
|
* Route 2: Turn your site into a hugo module and add this theme as a module dependency
|
||||||
|
|
||||||
|
Edit your site config following `exampleSite/config.yaml`.
|
||||||
|
|
||||||
*Note: Remove `config.toml` if there is one in the site folder.*
|
*Note: Remove `config.toml` if there is one in the site folder.*
|
||||||
|
|
||||||
|
3
exampleSite/go.mod
Normal file
3
exampleSite/go.mod
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
module github.com/CaiJimmy/hugo-theme-stack/exampleSite
|
||||||
|
|
||||||
|
go 1.12
|
Loading…
Reference in New Issue
Block a user