From 7c8af44ea7476814519a579843909034c967af33 Mon Sep 17 00:00:00 2001 From: Christian Legnitto Date: Wed, 5 Oct 2016 14:57:30 -0700 Subject: [PATCH] Add locale directory directions to README --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 0e93aed..d99e525 100644 --- a/README.md +++ b/README.md @@ -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