Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
Updated lang to support AR
Browse files Browse the repository at this point in the history
  • Loading branch information
subbiahsn committed May 5, 2022
1 parent 18c1727 commit 9d274a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/generic.slim
@@ -1,5 +1,5 @@
doctype html
html lang= I18n.locale
html lang="#{@page.language.try(:code).try(:downcase)}" dir=("#{@page.language.try(:code).try(:downcase)}" == 'ar' ? 'rtl' : 'ltr')
head
title = @title
meta name="viewport" content="width=device-width, initial-scale=1.0"
Expand Down

0 comments on commit 9d274a6

Please sign in to comment.