From 9c04ca026676445849081d32efb8e840465994d5 Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Thu, 17 Feb 2022 10:49:41 -0500 Subject: [PATCH] rtl docs --- content/notes/config.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/content/notes/config.md b/content/notes/config.md index 8de7de69..637a19f1 100644 --- a/content/notes/config.md +++ b/content/notes/config.md @@ -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). \ No newline at end of file +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 +``` \ No newline at end of file