Skip to content

Commit

Permalink
docs: Several commits to update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanJesusAlejoSillero committed Sep 19, 2023
2 parents ac086a2 + 57f94f5 commit d19d6c6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
8 changes: 6 additions & 2 deletions exampleSite/content/docs/configuration/multilangual/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ images = []
navWeight = 960
+++

HBS supports multiple languages out of box, such as English, Simplified Chinese, Traditional Chinese, French, Russian etc.
HBS supports multiple languages out of box, such as English, Simplified Chinese, Traditional Chinese, French, Russian, etc.

You can add your own translations on: [hugo-theme-bootstrap/i18n](https://github.com/razonyang/hugo-theme-bootstrap/tree/master/i18n)

<!--more-->

Expand All @@ -33,7 +35,9 @@ HBS supports multiple languages out of box, such as English, Simplified Chinese,

> You'll need to specify the `languageDirection` as `rtl` for Right-to-left writing languages.
See also [Hugo Multilingual](https://gohugo.io/content-management/multilingual/).
See also [Hugo Multilingual](https://gohugo.io/content-management/multilingual/).*

> The parameter that controls the default language of the site must be located in the site configuration file. See `defaultContentLanguage` on [Site Configuration](https://hbs.razonyang.com/v1/en/docs/configuration/site/).
## Localization

Expand Down
4 changes: 2 additions & 2 deletions exampleSite/content/docs/configuration/site/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ The site configuration is located in `config/_default/config.toml` by default.
|---|:-:|:-:|---
| `title` | String | - | Site title.
| `baseURL` | String | - | Site base URL.
| `copyright` | String | - | Site copyright. The `{year}` placeholder will be replaced with this year.
| `defaultContentLanguage` | String | `en` |
| `copyright` | String | - | Site copyright. The `{year}` placeholder will be replaced with the current year.
| `defaultContentLanguage` | String | `en` | Default site's language.
| `defaultContentLanguageInSubdir` | Boolean | `false` |
| `paginate` | Integer | `10` |
| `paginatePath` | String | `page` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
| English | `en` |
| Simplified Chinese | `zh-hans`(**Recommended**), `zh-cn` |
| Traditional Chinese | `zh-hant`(**Recommended**), `zh-tw`, `zh-hk` |
| Spanish | `es` |
| Arabic | `ar` |
| German | `de` |
| French | `fr` |
Expand Down

0 comments on commit d19d6c6

Please sign in to comment.