From 30fe411e9637f8996d60e9968e5617612d821c19 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Thu, 16 May 2024 19:13:44 -0400 Subject: [PATCH] Specify `fa` as `rtl` lang + NPM script tweak (#294) --- hugo.toml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hugo.toml b/hugo.toml index d029510ca0..b98828bb2c 100644 --- a/hugo.toml +++ b/hugo.toml @@ -70,6 +70,7 @@ time_format_default = "02.01.2006" time_format_blog = "02.01.2006" [languages.fa] +languageDirection = "rtl" languageName ="فارسی" contentDir = "content/fa" title = "اسناد گلدی" diff --git a/package.json b/package.json index 4b51369229..901e931deb 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "_hugo": "hugo --cleanDestinationDir", "_hugo-dev": "npm run _hugo -- -e dev -DFE", "_local": "npx cross-env HUGO_MODULE_WORKSPACE=docsy.work", - "_serve": "npm run _hugo-dev -- --minify serve", + "_serve": "npm run _hugo-dev -- --minify serve --renderToMemory", "build:preview": "npm run _hugo-dev -- --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\"", "build:production": "npm run _hugo -- --minify", "build": "npm run _build -- ",