feat: turn stack theme into a hugo module (#460)

* Turn stack theme into a hugo module
This commit is contained in:
Andreas Deininger 2022-01-20 11:16:28 +01:00 committed by GitHub
parent bfd1eb8400
commit fe661c8c38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -35,7 +35,10 @@ It's necessary to use **Hugo Extended ≥ 0.87.0**.
## 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.*

3
go.mod Normal file
View file

@ -0,0 +1,3 @@
module github.com/CaiJimmy/hugo-theme-stack
go 1.12