Skip to content

Commit

Permalink
rtl docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyzha0 committed Feb 17, 2022
1 parent 388a2bf commit 9c04ca0
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion content/notes/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,20 @@ 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/)

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
```

0 comments on commit 9c04ca0

Please sign in to comment.