diff --git a/pelican_theme_teckids/pelicanconf.py b/pelican_theme_teckids/pelicanconf.py index 4cb9f2007f605e3935e13502e6c2bd9b9a5e021b..669e4552482b58cd51da569588296d203fe7be57 100644 --- a/pelican_theme_teckids/pelicanconf.py +++ b/pelican_theme_teckids/pelicanconf.py @@ -24,6 +24,8 @@ DATE_FORMATS = { "de": "%A, %d. %B %Y", "en": "%A, %Y-%m-%d", } +PO4A_POST_PATTERN = PATH + "/posts/{lang}/{relpath}" +PO4A_PAGE_PATTERN = PATH + "/pages/{lang}/{relpath}" # Feed generation is usually not desired when developing FEED_ALL_ATOM = None @@ -40,7 +42,7 @@ SECONDARY_DARK = "#015ebe" SECONDARY_LIGHT = "#00c5fa" PLUGIN_PATHS = ["plugins"] -PLUGINS = ["i18n_subsites", "sitemap", "summary", "jinja2content"] +PLUGINS = ["i18n_subsites", "sitemap", "summary", "jinja2content", "po4a"] MARKDOWN = { "extension_configs": { "markdown.extensions.attr_list": {}, diff --git a/pyproject.toml b/pyproject.toml index 50bc9204f04067cf25189ba0fec24457f1615928..abeb6dbfcb62faf05a6b844c99966fb05bf0b291 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,9 +12,10 @@ url = "https://edugit.org/api/v4/projects/257/packages/pypi/simple" secondary = true [tool.poetry.dependencies] -python = "^3.6" +python = "^3.6.2" pelican-sitemap = "^1.0.2" pelican-jinja2content = "^1.0.1" +pelican-po4a = "^0.1.0" [tool.poetry.dev-dependencies] Jinja2 = "^3.0.1"