diff options
author | 2021-08-04 22:33:55 +0300 | |
---|---|---|
committer | 2021-08-04 12:33:55 -0700 | |
commit | 81c885f54f3b97a840955ce869794e3cc79b7c34 (patch) | |
tree | 0285770bdbf352f6a54f8564a7603735df40e67a /docs/src/layouts/MainLayout.astro | |
parent | a1e5d041186eeadccb922e363c890305df0bbcdc (diff) | |
download | astro-81c885f54f3b97a840955ce869794e3cc79b7c34.tar.gz astro-81c885f54f3b97a840955ce869794e3cc79b7c34.tar.zst astro-81c885f54f3b97a840955ce869794e3cc79b7c34.zip |
Adding Dir attribute to allow rtl languages to work (#982)
* Adding Dir attribute to allow rtl languges to work
* Update docs/src/layouts/MainLayout.astro
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
Diffstat (limited to 'docs/src/layouts/MainLayout.astro')
-rw-r--r-- | docs/src/layouts/MainLayout.astro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/layouts/MainLayout.astro b/docs/src/layouts/MainLayout.astro index 0e9c39fc4..04416316d 100644 --- a/docs/src/layouts/MainLayout.astro +++ b/docs/src/layouts/MainLayout.astro @@ -14,7 +14,7 @@ const currentFile = `src/pages${currentPage.replace(/\/$/, "")}.md`; const githubEditUrl = `https://github.com/snowpackjs/astro/blob/main/docs/${currentFile}`; --- -<html lang="{content.lang ?? 'en-us'}" class="initial"> +<html dir="{content.dir ?? 'ltr'}" lang="{content.lang ?? 'en-us'}" class="initial"> <head> <HeadCommon /> <HeadSEO {content} canonicalURL={Astro.request.canonicalURL} /> |