Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugoThemesSite.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-07-24 19:17:43 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-07-24 19:17:43 +0300
commit0f4b2af139d0d53fe3c202924d49e2116bed28be (patch)
tree6d9ed37603ad94b8a556ca7b3b2ebdcc93a179ed
parent7a322a4d22d44c1ab6df37a178893873eefa3f09 (diff)
Add outputs config for Netlify files
-rw-r--r--config.toml20
1 files changed, 20 insertions, 0 deletions
diff --git a/config.toml b/config.toml
index a35b34b..5b0a3ac 100644
--- a/config.toml
+++ b/config.toml
@@ -7,6 +7,26 @@ theme = "gohugoioTheme"
plainIdAnchors=true
config = "config-tpl-base.toml"
+[outputs]
+home = [ "HTML", "RSS", "REDIR", "HEADERS" ]
+
+[mediaTypes]
+[mediaTypes."text/netlify"]
+suffix = ""
+delimiter = ""
+
+[outputFormats]
+[outputFormats.REDIR]
+mediatype = "text/netlify"
+baseName = "_redirects"
+isPlainText = true
+notAlternative = true
+[outputFormats.HEADERS]
+mediatype = "text/netlify"
+baseName = "_headers"
+isPlainText = true
+notAlternative = true
+
[social]
twitter = "GoHugoIO"