mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-25 18:50:51 +02:00
starters: add Blog starter
This commit is contained in:
parent
8985075341
commit
7c83d94590
37 changed files with 1381 additions and 0 deletions
21
starters/blog/netlify.toml
Normal file
21
starters/blog/netlify.toml
Normal file
|
@ -0,0 +1,21 @@
|
|||
[build]
|
||||
command = "hugo --gc --minify -b $URL"
|
||||
publish = "public"
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.91.2"
|
||||
HUGO_ENABLEGITINFO = "true"
|
||||
|
||||
[context.production.environment]
|
||||
HUGO_ENV = "production"
|
||||
|
||||
[context.deploy-preview]
|
||||
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[context.branch-deploy]
|
||||
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
|
||||
|
||||
[[plugins]]
|
||||
package = "netlify-plugin-hugo-cache-resources"
|
||||
[plugins.inputs]
|
||||
debug = true
|
Loading…
Add table
Add a link
Reference in a new issue