add netlify config examples #138
This commit is contained in:
parent
a1a83ea1de
commit
5c94f0297f
@ -20,6 +20,7 @@ Anubis is a simple minimalist theme for [Hugo blog engine](https://gohugo.io/).
|
||||
- ISSO
|
||||
- Utteranc.es
|
||||
- RSS feeds
|
||||
- Deploy via Netlify (config included in example site)
|
||||
- Hiding posts from the RSS feed
|
||||
- Hidden posts (available only by link)
|
||||
- Translations (en, ru, fr, pl)
|
||||
|
8
exampleSite/netlify.toml
Normal file
8
exampleSite/netlify.toml
Normal file
@ -0,0 +1,8 @@
|
||||
[build]
|
||||
publish = "public"
|
||||
command = "hugo --gc --minify"
|
||||
|
||||
[context.production.environment]
|
||||
HUGO_VERSION = "0.92.0"
|
||||
HUGO_ENV = "production"
|
||||
HUGO_ENABLEGITINFO = "true"
|
8
exampleSiteMultilingual/netlify.toml
Normal file
8
exampleSiteMultilingual/netlify.toml
Normal file
@ -0,0 +1,8 @@
|
||||
[build]
|
||||
publish = "public"
|
||||
command = "hugo --gc --minify"
|
||||
|
||||
[context.production.environment]
|
||||
HUGO_VERSION = "0.92.0"
|
||||
HUGO_ENV = "production"
|
||||
HUGO_ENABLEGITINFO = "true"
|
Loading…
Reference in New Issue
Block a user