Skip to content

Internationalization

Rise edited this page May 22, 2021 · 3 revisions

Thanks for the efforts of jordan-dlh, now hugo-theme-diary supports several languages.

To change default language of this theme, please add this line to your site's config.toml:

DefaultContentLanguage = "en"

All available languages: https://github.com/AmazingRise/hugo-theme-diary/tree/main/i18n

NOTE: This configuration doesn't apply to sidebar. To customize sidebar, please visit here.