Merge pull request #6 from LegNeato/patch-1

Add locale directory directions to README
This commit is contained in:
Asier Illarramendi 2016-10-06 07:21:26 +02:00 committed by GitHub
commit 2fff13cb22

View file

@ -26,6 +26,15 @@ path/file_es.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).
### Property merging