Skip to content

Commit

Permalink
Merge pull request #125 from satisataka/master
Browse files Browse the repository at this point in the history
[fix] get locale for mkdocs-static-i18n
  • Loading branch information
timvink committed Dec 3, 2023
2 parents d528007 + 2f31cf0 commit f50bb7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkdocs_git_revision_date_localized_plugin/plugin.py
Expand Up @@ -176,7 +176,7 @@ def on_page_markdown(

# First prio is use mkdocs-static-i18n locale if set
try:
locale = page.locale
locale = page.file.locale

except AttributeError:
locale = None
Expand Down

0 comments on commit f50bb7b

Please sign in to comment.