Skip to content

Commit

Permalink
Specify fa as rtl lang + NPM script tweak (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored May 16, 2024
1 parent 6f7c2b3 commit 30fe411
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "اسناد گلدی"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 -- ",
Expand Down

0 comments on commit 30fe411

Please sign in to comment.