Verified Commit 067a78f3 authored by Georg Krause's avatar Georg Krause
Browse files

Fix overwrite bug

parent 9099d8cf
Pipeline #19157 failed with stages
in 7 minutes and 33 seconds
...@@ -42,8 +42,6 @@ PAGE_PATHS = [""] ...@@ -42,8 +42,6 @@ PAGE_PATHS = [""]
ARTICLE_PATHS = ["articles"] ARTICLE_PATHS = ["articles"]
PAGE_URL = "{slug}" PAGE_URL = "{slug}"
PAGE_SAVE_AS = "{slug}/index.html" PAGE_SAVE_AS = "{slug}/index.html"
PAGE_LANG_URL = "{slug}"
PAGE_LANG_SAVE_AS = "{slug}/index.html"
PLUGIN_PATHS = ["pelican-plugins"] PLUGIN_PATHS = ["pelican-plugins"]
PLUGINS = ["i18n_subsites"] PLUGINS = ["i18n_subsites"]
...@@ -51,8 +49,9 @@ PLUGINS = ["i18n_subsites"] ...@@ -51,8 +49,9 @@ PLUGINS = ["i18n_subsites"]
I18N_SUBSITES = { I18N_SUBSITES = {
"de": {"OUTPUT_PATH": "output/de_DE", "SITEURL": SITEURL + "/de_DE"}, "de": {"OUTPUT_PATH": "output/de_DE", "SITEURL": SITEURL + "/de_DE"},
"fr": {"OUTPUT_PATH": "output/fr_FR", "SITEURL": SITEURL + "/fr_FR"}, "fr": {"OUTPUT_PATH": "output/fr_FR", "SITEURL": SITEURL + "/fr_FR"},
"ru": {"OUTPUT_PATH": "output/ru_RU", "SITEURL": SITEURL + "/ru_RU"},
} }
I18N_UNTRANSLATED_PAGES = "remove" I18N_UNTRANSLATED_PAGES = "keep"
PAGE_TRANSLATION_ID = None PAGE_TRANSLATION_ID = None
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment