projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bec3f40
)
Add some docs for IgnoreFiles
author
bep
<bjorn.erik.pedersen@gmail.com>
Wed, 3 Jun 2015 11:46:55 +0000
(13:46 +0200)
committer
bep
<bjorn.erik.pedersen@gmail.com>
Wed, 3 Jun 2015 11:46:52 +0000
(13:46 +0200)
See #1189
docs/content/overview/configuration.md
patch
|
blob
|
history
diff --git
a/docs/content/overview/configuration.md
b/docs/content/overview/configuration.md
index fd8100b2b0ef3a36859b074df0fcab0f220546db..80df792b2b043085537217a328d61fcba5dd9ca1 100644
(file)
--- a/
docs/content/overview/configuration.md
+++ b/
docs/content/overview/configuration.md
@@
-139,6
+139,15
@@
Following is a list of Hugo-defined variables that you can configure and their c
watch: false
---
+## Ignore files on build
+
+The following inside `config.toml` will ignore files ending with `.foo` and `.boo` when building with `hugo`.
+
+```
+ignoreFiles = [ "\\.foo$", "\\.boo$" ]
+```
+
+The above is is a list of Reqular Expressions, but note the escaping of the `\` to make TOML happy.