diff options
author | Andreas Deininger <andreas@deininger.net> | 2022-01-20 13:16:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 13:16:28 +0300 |
commit | fe661c8c3826140c3b006b66abdd581a745e604c (patch) | |
tree | 913bf708cb82522f75416df3fea91213b41e8f0e | |
parent | bfd1eb84003cd1e364ca3fb288250247a46cf633 (diff) |
feat: turn stack theme into a hugo module (#460)
* Turn stack theme into a hugo module
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | go.mod | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -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.* @@ -0,0 +1,3 @@ +module github.com/CaiJimmy/hugo-theme-stack + +go 1.12 |