diff --git a/src/interpolate.js b/src/interpolate.js index 5bd1d5d..ebc5b3f 100644 --- a/src/interpolate.js +++ b/src/interpolate.js @@ -64,7 +64,7 @@ function interpolate(pattern, user, post, item) { $itemIndex: item.index + config.library.indexOffset, $extracted: item.extracted ? config.library.booleans.extracted : '', $preview: item.preview ? config.library.booleans.preview : '', - $ext: `.${mime.extension(item.type) || path.extname(url.parse(item.url).pathname)}`.replace('jpeg', 'jpg') + $ext: `.${mime.extension(item.type) || path.extname(url.parse(item.url).pathname)}` }); }