Skip to content

Commit 0dab58e

Browse files
committed
refactor: remove RTL font loader and associated styles for cleaner codebase
refactor: streamline RTL support configuration and enhance language direction detection chore: remove obsolete RTL support documentation refactor: remove RTL configuration and streamline language direction detection chore: remove RTL support mention from README refactor: remove obsolete Persian RTL test post for cleaner codebase refactor: adjust anchor float and margin for improved RTL styling refactor: remove rtl.scss from main.scss and move to _scss/base refactor: revert all changes about locale files feat: dir is an optional attribute of html element Co-authored-by: Cotes Chung <[email protected]> Signed-off-by: Zakaria Fatahi <[email protected]> refactor: add padding and border styles for access panel in RTL refactor: adjust archive styles for improved RTL layout feat: add padding styles for categories in RTL layout feat: add margin styles for list items in page category for RTL layout feat: add margin styles for tag spans in RTL layout
1 parent 001b093 commit 0dab58e

File tree

17 files changed

+61
-890
lines changed

17 files changed

+61
-890
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
- PWA
3939
- Web Analytics
4040
- SEO & Performance Optimization
41-
- RTL Support
4241

4342
## Documentation
4443

_config.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,6 @@
33
# Import the theme
44
theme: jekyll-theme-chirpy
55

6-
# Force RTL mode for the entire website
7-
# When set to true, all pages will be rendered right-to-left, regardless of language
8-
# Useful if your entire site is in an RTL language
9-
# If enabled, also set one of the RTL languages in rtl_languages list as your site.lang value
10-
rtl_support: false
11-
12-
# RTL Languages array
13-
# If you want to have your entire website in an RTL language, and you set rtl_support: true,
14-
# then set one of these languages for lang: in the _config.yml and your entire website locale will change too.
15-
# But if rtl_support is false and you just want specific pages in RTL with RTL locale,
16-
# add 'lang: fa' (or another code from this list) to the front matter of those specific pages.
17-
# The page will then be displayed in RTL mode with the appropriate font and locale
18-
rtl_languages:
19-
- ar
20-
- fa
21-
- ku-IQ
22-
- ur-PK
23-
- ps-AF
24-
- dv-MV
25-
266
# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm
277
# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed,
288
# otherwise, the layout language will use the default value of 'en'.

_data/locales/dv‑MV.yml

Lines changed: 0 additions & 90 deletions
This file was deleted.

_data/locales/fa.yml renamed to _data/locales/fa-IR.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ copyright:
3737
# Displayed in the footer
3838
brief: برخی حقوق محفوظ است.
3939
verbose: >-
40-
به‌جز مواردی که خلاف آن ذکر شده باشد، محتوای پست‌های این وبلاگ
40+
مگر اینکه خلاف آن ذکر شده باشد، پست‌های وبلاگ در این سایت
4141
تحت مجوز Creative Commons Attribution 4.0 International (CC BY 4.0) توسط نویسنده منتشر شده‌اند.
4242
43-
meta: با استفاده از قالب :THEME برای :PLATFORM
43+
meta: با استفاده از :PLATFORM قالب :THEME
4444

4545
not_found:
4646
statement: متأسفیم، لینک زیر معتبر نیست یا به صفحه‌ای که وجود ندارد اشاره می‌کند.
@@ -55,11 +55,11 @@ post:
5555
written_by: نوشته شده توسط
5656
posted: منتشر شده
5757
updated: به‌روزرسانی شده
58-
words: کلمه
59-
pageview_measure: بازدید
58+
words: کلمات
59+
pageview_measure: بازدیدها
6060
read_time:
61-
unit: "دقیقه "
62-
prompt: " زمان مطالعه"
61+
unit: دقیقه
62+
prompt: زمان مطالعه
6363
relate_posts: بیشتر بخوانید
6464
share: اشتراک‌گذاری
6565
button:

_data/locales/ku-IQ.yml

Lines changed: 0 additions & 91 deletions
This file was deleted.

_data/locales/ps‑AF.yml

Lines changed: 0 additions & 90 deletions
This file was deleted.

0 commit comments

Comments
 (0)