diff options
author | 2021-11-11 12:09:48 -0500 | |
---|---|---|
committer | 2021-11-11 12:09:48 -0500 | |
commit | e0c3318c09c6d8158e51d09e88eae32bb26f7bb7 (patch) | |
tree | 3e61b44ba0987a728fca047d1182d7a53a42b1a7 /docs/src/layouts | |
parent | 7bb768ddab3d7a4d98682f0a74653e3e8c40602c (diff) | |
download | astro-e0c3318c09c6d8158e51d09e88eae32bb26f7bb7.tar.gz astro-e0c3318c09c6d8158e51d09e88eae32bb26f7bb7.tar.zst astro-e0c3318c09c6d8158e51d09e88eae32bb26f7bb7.zip |
Update Astro docs to use v0.21 (#1738)
* update docs site to leverage astro v0.21
* fix resolutions
* fix docsearch import
* Resolve `@docsearch/react` is a cross-execution-context-friendly way
* chore: update astro version
* fix: remove line highlighting syntax
* fix: braces inside of attr string
* Match current astro version
* Trim leading newline in MainLayout.astro template
* Move card grid styles into Layout
Co-authored-by: Nate Moore <nate@skypack.dev>
Diffstat (limited to 'docs/src/layouts')
-rw-r--r-- | docs/src/layouts/MainLayout.astro | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/src/layouts/MainLayout.astro b/docs/src/layouts/MainLayout.astro index 2a559d57e..b2302125e 100644 --- a/docs/src/layouts/MainLayout.astro +++ b/docs/src/layouts/MainLayout.astro @@ -14,8 +14,7 @@ const currentFile = `src/pages${currentPage.replace(/\/$/, "")}.md`; const githubEditUrl = `https://github.com/snowpackjs/astro/blob/main/docs/${currentFile}`; const formatTitle = (content, SITE) => content.title ? `${content.title} 🚀 ${SITE.title}` : SITE.title; --- - -<html dir="{content.dir ?? 'ltr'}" 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} /> |