diff options
author | 2021-07-12 23:46:28 -0400 | |
---|---|---|
committer | 2021-07-13 00:49:13 -0400 | |
commit | 3f14bed413074aba0ab9199d3a2e24802f51eb72 (patch) | |
tree | 5460d384a66f5c428c8617eddb511e6f55adfb9e /examples/docs/src/layouts/Main.astro | |
parent | 1b13f5c158b5fbe157406308205c0939b415e1d7 (diff) | |
download | astro-3f14bed413074aba0ab9199d3a2e24802f51eb72.tar.gz astro-3f14bed413074aba0ab9199d3a2e24802f51eb72.tar.zst astro-3f14bed413074aba0ab9199d3a2e24802f51eb72.zip |
Add lang attribute to html tags
Diffstat (limited to 'examples/docs/src/layouts/Main.astro')
-rw-r--r-- | examples/docs/src/layouts/Main.astro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/docs/src/layouts/Main.astro b/examples/docs/src/layouts/Main.astro index dbfc90791..fe847496e 100644 --- a/examples/docs/src/layouts/Main.astro +++ b/examples/docs/src/layouts/Main.astro @@ -18,7 +18,7 @@ const githubEditUrl = `https://github.com/USER/REPO/blob/main/${currentFile}` // Full Astro Component Syntax: // https://github.com/snowpackjs/astro/blob/main/docs/core-concepts/astro-components.md --- -<html> +<html lang={ content.lang ?? 'en' }> <head> <title>{content.title}</title> |