mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
Merge go modules (#543)
* Add support for using as a Hugo module (#534) * Add support for using as a Hugo module Fixes #502 * Don't need/want the theme directory with modules * Fix go.{mod,sum} files * Set go version and hugo version everywhere Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com> * Remove hugo mod from exampleSite and Netlify build * Bump hugo version * Move env vars inside netlify.toml Co-authored-by: Edward Muller <edward_muller@icloud.com>
This commit is contained in:
committed by
GitHub
parent
1555abc641
commit
7ec46861e3
@@ -96,3 +96,4 @@
|
|||||||
- [Ziwei Pan](https://github.com/PanZiwei/)
|
- [Ziwei Pan](https://github.com/PanZiwei/)
|
||||||
- [Viktar Patotski](https://github.com/xp-vit)
|
- [Viktar Patotski](https://github.com/xp-vit)
|
||||||
- [cuso4-5h2o](https://www.cuso4.me)
|
- [cuso4-5h2o](https://www.cuso4.me)
|
||||||
|
- [freeformz](https://icanhazdowntime.org)
|
||||||
5
config.toml
Normal file
5
config.toml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
baseURL = "https://example.com/"
|
||||||
|
|
||||||
|
[module]
|
||||||
|
[module.hugoVersion]
|
||||||
|
min = "0.77.0"
|
||||||
@@ -4,7 +4,7 @@ theme = "hugo-coder"
|
|||||||
languageCode = "en"
|
languageCode = "en"
|
||||||
defaultContentLanguage = "en"
|
defaultContentLanguage = "en"
|
||||||
paginate = 20
|
paginate = 20
|
||||||
pygmentsStyle = "b2"
|
pygmentsStyle = "bw"
|
||||||
pygmentsCodeFences = true
|
pygmentsCodeFences = true
|
||||||
pygmentsCodeFencesGuessSyntax = true
|
pygmentsCodeFencesGuessSyntax = true
|
||||||
enableEmoji = true
|
enableEmoji = true
|
||||||
|
|||||||
@@ -2,13 +2,9 @@
|
|||||||
publish = "exampleSite/public"
|
publish = "exampleSite/public"
|
||||||
command = "cd exampleSite && hugo --themesDir=../.. --baseURL $URL"
|
command = "cd exampleSite && hugo --themesDir=../.. --baseURL $URL"
|
||||||
|
|
||||||
[context.production.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.73.0"
|
HUGO_VERSION = "0.77.0"
|
||||||
HUGO_THEME = "repo"
|
HUGO_THEME = "repo"
|
||||||
|
|
||||||
[context.deploy-preview]
|
[context.deploy-preview]
|
||||||
command = "cd exampleSite && hugo --themesDir=../.. --buildFuture --buildDrafts --baseURL $DEPLOY_PRIME_URL"
|
command = "cd exampleSite && hugo --themesDir=../.. --buildFuture --buildDrafts --baseURL $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
[context.deploy-preview.environment]
|
|
||||||
HUGO_VERSION = "0.73.0"
|
|
||||||
HUGO_THEME = "repo"
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ features = [
|
|||||||
"single-column",
|
"single-column",
|
||||||
"syntax-highlighting"
|
"syntax-highlighting"
|
||||||
]
|
]
|
||||||
min_version = "0.73.0"
|
min_version = "0.77.0"
|
||||||
|
|
||||||
[author]
|
[author]
|
||||||
name = "Luiz F. A. de Prá"
|
name = "Luiz F. A. de Prá"
|
||||||
|
|||||||
Reference in New Issue
Block a user