blob: f073a003e3fdac9ef91b685c5aef6ba4b6d07567 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
Thanks for the efforts of [jordan-dlh](https://github.com/AmazingRise/hugo-theme-diary/pull/43), now `hugo-theme-diary` supports several languages.
To change default language of this theme, please add this line to your site's `config.toml`:
```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](https://github.com/AmazingRise/hugo-theme-diary/wiki/Customization#customize-sidebar).
|