hugo/source
Bjørn Erik Pedersen 6413559f75 Add a way to disable one or more languages
This commit adds a new config setting:

```toml
disableLanguages = ["fr"]
```

If this is a multilingual site:

* No site for the French language will be created
* French content pages will be ignored/not read
* The French language configuration (menus etc.) will also be ignored

This makes it possible to start translating new languages and turn it on when you're happy etc.

Fixes #4297
Fixed #4329
2018-01-26 14:04:14 +01:00
..
content_directory_test.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
dirs.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
dirs_test.go source: Enable disabled test 2017-11-19 14:35:49 +01:00
fileInfo.go source: Make sure .File.Dir() ends with a slash 2017-12-28 11:32:02 +01:00
fileInfo_test.go source: Fix test on Windows 2017-12-28 13:54:23 +01:00
filesystem.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
filesystem_test.go Implement Page bundling and image handling 2017-12-27 18:44:47 +01:00
filesystem_unix_test.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
filesystem_windows_test.go Add copyright header to that source files that don’t have one. 2015-12-10 15:19:38 -07:00
sourceSpec.go Add a way to disable one or more languages 2018-01-26 14:04:14 +01:00