diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/config.py | 2 | ||||
-rw-r--r-- | config/generator.toml | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/config/config.py b/config/config.py index 144d0fbf..1d247166 100644 --- a/config/config.py +++ b/config/config.py @@ -28,6 +28,8 @@ RSS_ICON_HEIGHT = config["blog"]["RSS_ICON_HEIGHT"] #generator configurations GENERATOR_NAME = config["generator"]["GENERATOR_NAME"] GENERATOR_HOME_PAGE = config["generator"]["GENERATOR_HOME_PAGE"] +DEFAULTLANG = config["generator"]["DEFAULTLANG"] +LANGUAGES = config["generator"]["LANGUAGES"] SOURCEDIR = os.path.join(ROOTDIR, config["generator"]["SOURCEDIR"]) POSTSDIR = os.path.join(SOURCEDIR, config["generator"]["POSTSDIR"]) diff --git a/config/generator.toml b/config/generator.toml index 2ae0e83f..4b15d0a4 100644 --- a/config/generator.toml +++ b/config/generator.toml @@ -3,6 +3,8 @@ [generator] GENERATOR_NAME = "pyblog" GENERATOR_HOME_PAGE = "https://git.neodarz.net/neodarz/website/my_new_personal_website.git/about/" + DEFAULTLANG = "en" + LANGUAGES = ["en", "fr"] SOURCEDIR = "source" POSTSDIR = "blog" |