diff options
author | 2021-07-13 10:57:40 -0400 | |
---|---|---|
committer | 2021-07-13 10:57:40 -0400 | |
commit | 4b1f5c3dc627e62b78a6993f502a35712cb9f400 (patch) | |
tree | 0692da531038b8d59b7662feb98c4ca76aed2e8f /examples/portfolio/src | |
parent | 3f14bed413074aba0ab9199d3a2e24802f51eb72 (diff) | |
download | astro-4b1f5c3dc627e62b78a6993f502a35712cb9f400.tar.gz astro-4b1f5c3dc627e62b78a6993f502a35712cb9f400.tar.zst astro-4b1f5c3dc627e62b78a6993f502a35712cb9f400.zip |
code review comments
Diffstat (limited to 'examples/portfolio/src')
-rw-r--r-- | examples/portfolio/src/pages/$projects.astro | 3 | ||||
-rw-r--r-- | examples/portfolio/src/pages/404.astro | 3 | ||||
-rw-r--r-- | examples/portfolio/src/pages/about.astro | 3 | ||||
-rw-r--r-- | examples/portfolio/src/pages/index.astro | 3 |
4 files changed, 4 insertions, 8 deletions
diff --git a/examples/portfolio/src/pages/$projects.astro b/examples/portfolio/src/pages/$projects.astro index 43b39ca28..60f2ac84f 100644 --- a/examples/portfolio/src/pages/$projects.astro +++ b/examples/portfolio/src/pages/$projects.astro @@ -5,7 +5,6 @@ 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() { @@ -17,7 +16,7 @@ export async function createCollection() { } --- -<html lang={ lang ?? 'en' }> +<html lang="en"> <head> <MainHead title="All Projects | Jeanine White" /> <style lang="scss"> diff --git a/examples/portfolio/src/pages/404.astro b/examples/portfolio/src/pages/404.astro index 2368b2531..48ec8d310 100644 --- a/examples/portfolio/src/pages/404.astro +++ b/examples/portfolio/src/pages/404.astro @@ -3,10 +3,9 @@ import MainHead from '../components/MainHead.astro'; import Footer from '../components/Footer/index.jsx'; import Nav from '../components/Nav/index.jsx'; -let lang = 'en'; --- -<html lang={ lang ?? 'en' }> +<html lang="en"> <head> <MainHead title="Not Found" /> </head> diff --git a/examples/portfolio/src/pages/about.astro b/examples/portfolio/src/pages/about.astro index 50e6dac62..1fb855eb0 100644 --- a/examples/portfolio/src/pages/about.astro +++ b/examples/portfolio/src/pages/about.astro @@ -3,10 +3,9 @@ import MainHead from '../components/MainHead.astro'; import Footer from '../components/Footer/index.jsx'; import Nav from '../components/Nav/index.jsx'; -let lang = 'en'; --- -<html lang={ lang ?? 'en' }> +<html lang="en"> <head> <MainHead title="About | Jeanine White" /> <style lang="scss"> diff --git a/examples/portfolio/src/pages/index.astro b/examples/portfolio/src/pages/index.astro index 2a2009682..2d0f8a0a1 100644 --- a/examples/portfolio/src/pages/index.astro +++ b/examples/portfolio/src/pages/index.astro @@ -9,12 +9,11 @@ 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 lang={ lang ?? 'en' }> +<html lang="en"> <head> <MainHead title="Jeanine White: Personal Site" /> <style lang="scss"> |