aboutsummaryrefslogtreecommitdiff
path: root/examples/framework-multiple/src
diff options
context:
space:
mode:
authorGravatar Shreesh Bhat <shreeshbhat@users.noreply.github.com> 2021-07-12 23:46:28 -0400
committerGravatar Shreesh Bhat <shreeshbhat@users.noreply.github.com> 2021-07-13 00:49:13 -0400
commit3f14bed413074aba0ab9199d3a2e24802f51eb72 (patch)
tree5460d384a66f5c428c8617eddb511e6f55adfb9e /examples/framework-multiple/src
parent1b13f5c158b5fbe157406308205c0939b415e1d7 (diff)
downloadastro-3f14bed413074aba0ab9199d3a2e24802f51eb72.tar.gz
astro-3f14bed413074aba0ab9199d3a2e24802f51eb72.tar.zst
astro-3f14bed413074aba0ab9199d3a2e24802f51eb72.zip
Add lang attribute to html tags
Diffstat (limited to 'examples/framework-multiple/src')
-rw-r--r--examples/framework-multiple/src/pages/index.astro4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/framework-multiple/src/pages/index.astro b/examples/framework-multiple/src/pages/index.astro
index 826a9d5f9..0b6a8ad6d 100644
--- a/examples/framework-multiple/src/pages/index.astro
+++ b/examples/framework-multiple/src/pages/index.astro
@@ -6,10 +6,12 @@ import { PreactCounter } from '../components/PreactCounter.tsx';
import VueCounter from '../components/VueCounter.vue';
import SvelteCounter from '../components/SvelteCounter.svelte';
+let lang = 'en';
+
// Full Astro Component Syntax:
// https://github.com/snowpackjs/astro/blob/main/docs/core-concepts/astro-components.md
---
-<html>
+<html lang={ lang ?? 'en' }>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />