mirror of
https://github.com/vale981/metalsmith-multi-language
synced 2025-03-05 09:31:40 -05:00
cure the disappearing file bug
This commit is contained in:
parent
0e54075bf7
commit
047f29c55b
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ Multilang.prototype.getPlugin = function () {
|
||||||
|
|
||||||
if (files[file].locale === self.default) {
|
if (files[file].locale === self.default) {
|
||||||
files[file].path = '';
|
files[file].path = '';
|
||||||
files[name] = Object.assign({},files[file]);
|
files[name] = files[file];
|
||||||
} else {
|
} else {
|
||||||
files[file].path = files[file].locale +'/';
|
files[file].path = files[file].locale +'/';
|
||||||
name = files[file].locale + '/' + name;
|
name = files[file].locale + '/' + name;
|
||||||
|
|
Loading…
Add table
Reference in a new issue