We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af27290 commit 0785c3cCopy full SHA for 0785c3c
mkdocs_git_revision_date_localized_plugin/plugin.py
@@ -79,7 +79,7 @@ def on_config(self, config: config_options.Config, **kwargs) -> Dict[str, Any]:
79
# theme locale
80
if "theme" in config and "locale" in config.get("theme"):
81
custom_theme = config.get("theme")
82
- theme_locale = custom_theme._vars.get("locale")
+ theme_locale = custom_theme.locale
83
logging.debug(
84
"Locale '%s' extracted from the custom theme: '%s'"
85
% (theme_locale, custom_theme.name)
0 commit comments