Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 fix(i18n): atom feed page direction for RTL langs #268

Merged
merged 2 commits into from
Feb 11, 2024

Conversation

TheAwiteb
Copy link
Collaborator

@TheAwiteb TheAwiteb commented Feb 11, 2024

Fix #267

The page will looks like this after this PR

Note

I change the language from English to Arabic, to see the page in LTR and RTL

2024-02-11.19-25-16.mp4

@TheAwiteb TheAwiteb requested a review from welpo as a code owner February 11, 2024 16:36
@TheAwiteb TheAwiteb changed the title 🐛 (i18n): fix atom feed page direction in RTL languages 🐛 fix(i18n): fix atom feed page direction in RTL languages Feb 11, 2024
@TheAwiteb TheAwiteb force-pushed the fix-feed-page-rtl-diraction branch from dc7ea85 to f0a93fd Compare February 11, 2024 16:40
@TheAwiteb TheAwiteb changed the title 🐛 fix(i18n): fix atom feed page direction in RTL languages 🐛 fix(i18n): atom feed page direction for RTL langs Feb 11, 2024
@TheAwiteb TheAwiteb force-pushed the fix-feed-page-rtl-diraction branch from f0a93fd to b34ca2d Compare February 11, 2024 16:53
@welpo welpo merged commit 5a306d0 into welpo:main Feb 11, 2024
1 check passed
@welpo
Copy link
Owner

welpo commented Feb 11, 2024

Thank you!

@welpo
Copy link
Owner

welpo commented Feb 11, 2024

I'm curious, did you test if this auto option also works for the main template? As an alternative fix to #262.

@TheAwiteb
Copy link
Collaborator Author

TheAwiteb commented Feb 11, 2024

I'm curious, did you test if this auto option also works for the main template? As an alternative fix to #262.

It's should work, but in Arabic and I think also in other languages we (as individuals) may start the line with English word, so this will destroy the entire page.

If auto are risky like this, why I used it here?

Because the start content of the feed page can't be changed. You can change it but you need then edit it on the translation file, I think who will do this he knows what he do

@welpo
Copy link
Owner

welpo commented Feb 11, 2024

Awesome! Thanks for testing and for the clear explanation!! 🫶

Smtbook pushed a commit to Smtbook/zola-theme-tabi that referenced this pull request Feb 29, 2024
Co-authored-by: welpo <welpo@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

There is no page direction for feed page
2 participants