diff options
Diffstat (limited to 'examples/blog-multiple-authors/src/pages/index.astro')
-rw-r--r-- | examples/blog-multiple-authors/src/pages/index.astro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/blog-multiple-authors/src/pages/index.astro b/examples/blog-multiple-authors/src/pages/index.astro index 0b1c95df4..400d04292 100644 --- a/examples/blog-multiple-authors/src/pages/index.astro +++ b/examples/blog-multiple-authors/src/pages/index.astro @@ -12,6 +12,7 @@ import authorData from '../data/authors.json'; // All variables are available to use in the HTML template below. let title = 'Don’s Blog'; let description = 'An example blog on Astro'; +let lang = 'en'; // Data Fetching: List all Markdown posts in the repo. let allPosts = Astro.fetchContent('./post/*.md'); @@ -21,7 +22,7 @@ let firstPage = allPosts.slice(0, 2); // Full Astro Component Syntax: // https://github.com/snowpackjs/astro/blob/main/docs/core-concepts/astro-components.md --- -<html> +<html lang={ lang ?? 'en' }> <head> <title>{title}</title> <MainHead |