diff options
author | 2021-07-12 23:46:28 -0400 | |
---|---|---|
committer | 2021-07-13 00:49:13 -0400 | |
commit | 3f14bed413074aba0ab9199d3a2e24802f51eb72 (patch) | |
tree | 5460d384a66f5c428c8617eddb511e6f55adfb9e /examples/portfolio/src/pages/$projects.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/portfolio/src/pages/$projects.astro')
-rw-r--r-- | examples/portfolio/src/pages/$projects.astro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/portfolio/src/pages/$projects.astro b/examples/portfolio/src/pages/$projects.astro index 9a3407b83..43b39ca28 100644 --- a/examples/portfolio/src/pages/$projects.astro +++ b/examples/portfolio/src/pages/$projects.astro @@ -5,6 +5,7 @@ import Nav from '../components/Nav/index.jsx'; import PortfolioPreview from '../components/PortfolioPreview/index.jsx'; let { collection } = Astro.props; +let lang = 'en'; export async function createCollection() { return { async data() { @@ -16,7 +17,7 @@ export async function createCollection() { } --- -<html> +<html lang={ lang ?? 'en' }> <head> <MainHead title="All Projects | Jeanine White" /> <style lang="scss"> |