From 9c04ca026676445849081d32efb8e840465994d5 Mon Sep 17 00:00:00 2001 From: Jacky Zhao <j.zhao2k19@gmail.com> Date: Thu, 17 Feb 2022 15:49:41 +0000 Subject: [PATCH] rtl docs --- content/notes/config.md | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/content/notes/config.md b/content/notes/config.md index 8de7de6..637a19f 100644 --- a/content/notes/config.md +++ b/content/notes/config.md @@ -46,4 +46,20 @@ 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 -- Gitblit v1.10.0