mirror of
https://github.com/vale981/metalsmith-multi-language
synced 2025-03-05 09:31:40 -05:00
Add locale directory directions to README
This commit is contained in:
parent
fe95028fdd
commit
7c8af44ea7
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue