diff options
Diffstat (limited to 'examples/starter/src/pages/index.astro')
-rw-r--r-- | examples/starter/src/pages/index.astro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/starter/src/pages/index.astro b/examples/starter/src/pages/index.astro index 2e5832a3f..f2aab935b 100644 --- a/examples/starter/src/pages/index.astro +++ b/examples/starter/src/pages/index.astro @@ -9,11 +9,12 @@ import Tour from '../components/Tour.astro'; // It will run during the build, but never in the browser. // All variables are available to use in the HTML template below. let title = 'My Astro Site'; +let lang = 'en'; // Full Astro Component Syntax: // https://github.com/snowpackjs/astro/blob/main/docs/core-concepts/astro-components.md --- -<html lang="en"> +<html lang={ lang ?? 'en' }> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> |