Add locale directory directions to README

This commit is contained in:
Christian Legnitto 2016-10-05 14:57:30 -07:00 committed by GitHub
parent fe95028fdd
commit 7c8af44ea7

View file

@ -26,6 +26,15 @@ path/file_es.md
path/file_en.md path/file_en.md
``` ```
Or put your files in locale-specific directories, e.g.:
```
path/es/file1.md
path/en/file2.md
path/es/subdir/file1.md
path/en/subdir/file2.md
```
Note that **this plugin does not handle URL generation**, if you need URLs in the `:locale/:slug` format or similar check [`metalsmith-permalinks`](https://github.com/segmentio/metalsmith-permalinks). Note that **this plugin does not handle URL generation**, if you need URLs in the `:locale/:slug` format or similar check [`metalsmith-permalinks`](https://github.com/segmentio/metalsmith-permalinks).
### Property merging ### Property merging