Open nathancatania opened 6 months ago
I'm having the same error, please help! Big thanks!
Yes this is a known incompatibility unfortunately, mkdocs-material broke support when they rewrote the blog plugin and I've been unable to fix that since.
That's on my TODO list but can't share any ETA tbh.
I just added an if
:
if file.page:
file.page._set_canonical_url(mkdocs_config.get('site_url', None))
This makes the build succeed but the blog is still empty.
Tested with mkdocs-static.i18n 1.2.0 and mkdocs-material 9.5.2-insiders.4.47.1:
Whenever I add the
blog
plugin with a post, I get the following error attempting to runmkdocs serve
:site_url
is definitely set in my mkdocs.yml:janvanveldhuizen has the same issue as per this comment: https://github.com/ultrabug/mkdocs-static-i18n/pull/268#issuecomment-1825246468