diff --git a/src/output/i18n.json b/src/output/i18n.json index 9b0c6cb..3be7300 100644 --- a/src/output/i18n.json +++ b/src/output/i18n.json @@ -1,6 +1,6 @@ { "en": { - "link": "index", + "link": "", "title": "Market Gaps", "description": "Find a profitable difference between the price of the set and the price of the sum of it's parts.", "filter_by_difference": "Filter by difference:", diff --git a/src/output/index.js b/src/output/index.js index e84f2fa..7620a77 100644 --- a/src/output/index.js +++ b/src/output/index.js @@ -35,7 +35,7 @@ class Output { const template = await this._compileTemplate() Object.keys(i18n).forEach(locale => { - const filename = i18n[locale].link + const filename = i18n[locale].link || 'index' this._writeToFile(`./public/${filename}.html`, template({ ...this, t: i18n[locale],