mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-26 05:19:01 +00:00
rtl docs
This commit is contained in:
parent
388a2bf78b
commit
9c04ca0266
1 changed files with 17 additions and 1 deletions
|
@ -47,3 +47,19 @@ For example, the structure of the home page can be edited through `/layouts/inde
|
||||||
More info about partials on [Hugo's website.](https://gohugo.io/templates/partials/)
|
More info about partials on [Hugo's website.](https://gohugo.io/templates/partials/)
|
||||||
|
|
||||||
Still having problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md).
|
Still having problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md).
|
||||||
|
|
||||||
|
## Multilingual
|
||||||
|
Want to support languages that read from right-to-left (like Arabic)? Hugo (and by proxy, Quartz) supports this natively.
|
||||||
|
|
||||||
|
Follow the steps [Hugo provides here](https://gohugo.io/content-management/multilingual/#configure-languages) and modify your `config.toml`
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
```toml
|
||||||
|
defaultContentLanguage = 'ar'
|
||||||
|
[languages]
|
||||||
|
[languages.ar]
|
||||||
|
languagedirection = 'rtl'
|
||||||
|
title = 'مدونتي'
|
||||||
|
weight = 1
|
||||||
|
```
|
Loading…
Reference in a new issue