diff --git a/pelicanconf.py b/pelicanconf.py index ef2c331..c5cd6d7 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -94,6 +94,8 @@ I18N_SUBSITES = { (_LOC := 'en'): { 'OG_LOCALE': "en", 'LOCALE': ("en_GB", "en_GB.utf8"), + # override default and hide untranslated articles + 'I18N_UNTRANSLATED_ARTICLES': 'hide', # translation of strings, menu, titles 'SITENAME': "Schmittlauch's Blog & Homepage", @@ -115,6 +117,8 @@ I18N_SUBSITES = { ), } } +# idea: almost everyone understanding also understands English, +# so keep English-only posts in the German page I18N_UNTRANSLATED_ARTICLES = 'keep' # Theming, templates, and specific configs