diff options
Diffstat (limited to 'examples/portfolio/src/pages/index.astro')
-rw-r--r-- | examples/portfolio/src/pages/index.astro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/portfolio/src/pages/index.astro b/examples/portfolio/src/pages/index.astro index 4638bb3e9..2a2009682 100644 --- a/examples/portfolio/src/pages/index.astro +++ b/examples/portfolio/src/pages/index.astro @@ -9,11 +9,12 @@ import PorfolioPreview from '../components/PortfolioPreview/index.jsx'; // Data Fetching: List all Markdown posts in the repo. const projects = Astro.fetchContent('./project/**/*.md'); const featuredProject = projects[0]; +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> <MainHead title="Jeanine White: Personal Site" /> <style lang="scss"> |