add netlify config examples #138

This commit is contained in:
Dmitry Kolosov 2022-02-17 15:31:44 +03:00
parent a1a83ea1de
commit 5c94f0297f
3 changed files with 17 additions and 0 deletions

View File

@ -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
View 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"

View 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"