Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
funkwhale
funkwhale.audio
Commits
067a78f3
Verified
Commit
067a78f3
authored
Feb 13, 2022
by
Georg Krause
Browse files
Fix overwrite bug
parent
9099d8cf
Pipeline
#19157
failed with stages
in 7 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pelicanconf.py
View file @
067a78f3
...
...
@@ -42,8 +42,6 @@ PAGE_PATHS = [""]
ARTICLE_PATHS
=
[
"articles"
]
PAGE_URL
=
"{slug}"
PAGE_SAVE_AS
=
"{slug}/index.html"
PAGE_LANG_URL
=
"{slug}"
PAGE_LANG_SAVE_AS
=
"{slug}/index.html"
PLUGIN_PATHS
=
[
"pelican-plugins"
]
PLUGINS
=
[
"i18n_subsites"
]
...
...
@@ -51,8 +49,9 @@ PLUGINS = ["i18n_subsites"]
I18N_SUBSITES
=
{
"de"
:
{
"OUTPUT_PATH"
:
"output/de_DE"
,
"SITEURL"
:
SITEURL
+
"/de_DE"
},
"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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment