diff options
Diffstat (limited to 'langs')
-rw-r--r-- | langs/i18n/translationProvider.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/langs/i18n/translationProvider.go b/langs/i18n/translationProvider.go index ab5247413..9bbd5d9f6 100644 --- a/langs/i18n/translationProvider.go +++ b/langs/i18n/translationProvider.go @@ -59,7 +59,8 @@ func (tp *TranslationProvider) NewResource(dst *deps.Deps) error { w := hugofs.NewWalkway( hugofs.WalkwayConfig{ - Fs: dst.BaseFs.I18n.Fs, + Fs: dst.BaseFs.I18n.Fs, + IgnoreFile: dst.SourceSpec.IgnoreFile, WalkFn: func(path string, info hugofs.FileMetaInfo) error { if info.IsDir() { return nil |