ultrabug / mkdocs-static-i18n

MkDocs i18n plugin using static translation markdown files
https://ultrabug.github.io/mkdocs-static-i18n/
MIT License
238 stars 38 forks source link

Link setting error on homepage (`index.md` `index.html`) #261

Closed RonaldLN closed 1 year ago

RonaldLN commented 1 year ago

When building a webpage using mkdocs-material and using the mkdocs-static-i18n plugin to set multiple language selection functions, the link settings on the homepage (index.md index.html) are incorrect 无标题 无标题2

ultrabug commented 1 year ago

Hello @RonaldLN

This is because you are missing the site_url configuration in your mkdocs.yml file.

You should add: site_url: https://ronaldln.github.io/MyPamphlet

RonaldLN commented 1 year ago

Hello @RonaldLN

This is because you are missing the site_url configuration in your mkdocs.yml file.

You should add: site_url: https://ronaldln.github.io/MyPamphlet

oh, it works, thanks you very much!! @ultrabug 😆