diff options
author | Bjørn Erik Pedersen <[email protected]> | 2021-10-16 16:24:49 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2021-10-20 05:00:17 +0200 |
commit | 471ed91c60cd36645794925cb4892cc820eae626 (patch) | |
tree | b78ae6d931e7dd39ccd35a1ed3ff8440f9ef7900 /modules | |
parent | 94a5bac5b29bbba1ca4809752fe3fd04a58547b6 (diff) | |
download | hugo-471ed91c60cd36645794925cb4892cc820eae626.tar.gz hugo-471ed91c60cd36645794925cb4892cc820eae626.zip |
hugofs: Add includeFiles and excludeFiles to mount configuration
Fixes #9042
Diffstat (limited to 'modules')
-rw-r--r-- | modules/config.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/config.go b/modules/config.go index 45a2f22ee..f80a456cf 100644 --- a/modules/config.go +++ b/modules/config.go @@ -379,6 +379,11 @@ type Mount struct { Lang string // any language code associated with this mount. + // Include only files matching the given Glob patterns (string or slice). + IncludeFiles interface{} + + // Exclude all files matching the given Glob patterns (string or slice). + ExcludeFiles interface{} } func (m Mount) Component() string { |