diff options
Diffstat (limited to 'examples/snowpack/src/pages')
-rw-r--r-- | examples/snowpack/src/pages/404.astro | 3 | ||||
-rw-r--r-- | examples/snowpack/src/pages/guides.astro | 4 | ||||
-rw-r--r-- | examples/snowpack/src/pages/index.astro | 3 | ||||
-rw-r--r-- | examples/snowpack/src/pages/news.astro | 3 | ||||
-rw-r--r-- | examples/snowpack/src/pages/plugins.astro | 3 | ||||
-rw-r--r-- | examples/snowpack/src/pages/proof-of-concept-dynamic/[slug].astro.ignore | 3 |
6 files changed, 12 insertions, 7 deletions
diff --git a/examples/snowpack/src/pages/404.astro b/examples/snowpack/src/pages/404.astro index 053c931f4..ec3327ae4 100644 --- a/examples/snowpack/src/pages/404.astro +++ b/examples/snowpack/src/pages/404.astro @@ -4,10 +4,11 @@ import MainLayout from '../components/MainLayout.astro'; let title = 'Not Found'; let description = 'Snowpack is a lightning-fast frontend build tool, designed for the modern web.'; +let lang = 'en'; --- <!doctype html> -<html> +<html lang={ lang ?? 'en' }> <head> <BaseHead title={title} description={description} permalink="TODO" /> diff --git a/examples/snowpack/src/pages/guides.astro b/examples/snowpack/src/pages/guides.astro index e02856ede..93cedddac 100644 --- a/examples/snowpack/src/pages/guides.astro +++ b/examples/snowpack/src/pages/guides.astro @@ -23,7 +23,7 @@ let title = 'Guides'; let description = 'Snowpack\'s usage and integration guides.'; let guides; let communityGuides; - +let lang = 'en'; guides = paginate({ files: '/posts/guides/*.md', @@ -41,7 +41,7 @@ let communityGuides; --- <!doctype html> -<html> +<html lang={ lang ?? 'en' }> <head> <BaseHead title={title} description={description} permalink="TODO" /> diff --git a/examples/snowpack/src/pages/index.astro b/examples/snowpack/src/pages/index.astro index f2a8f7f26..029692161 100644 --- a/examples/snowpack/src/pages/index.astro +++ b/examples/snowpack/src/pages/index.astro @@ -7,10 +7,11 @@ import BaseLayout from '../components/BaseLayout.astro'; let title = 'Snowpack'; let description = 'Snowpack is a lightning-fast frontend build tool, designed for the modern web.'; +let lang = 'en'; --- <!doctype html> -<html> +<html lang={ lang ?? 'en' }> <head> <style lang="scss"> @use '../../public/styles/var' as *; diff --git a/examples/snowpack/src/pages/news.astro b/examples/snowpack/src/pages/news.astro index f51631d28..a8b99678e 100644 --- a/examples/snowpack/src/pages/news.astro +++ b/examples/snowpack/src/pages/news.astro @@ -14,10 +14,11 @@ import users from '../data/users.json'; const title = 'Community & News'; const description = 'Snowpack community news and companies that use Snowpack.'; +let lang = 'en'; --- <!doctype html> -<html> +<html lang={ lang ?? 'en' }> <head> <BaseHead title={title} description={description} permalink="TODO" /> diff --git a/examples/snowpack/src/pages/plugins.astro b/examples/snowpack/src/pages/plugins.astro index ce70f4cac..3ff13c115 100644 --- a/examples/snowpack/src/pages/plugins.astro +++ b/examples/snowpack/src/pages/plugins.astro @@ -5,10 +5,11 @@ import MainLayout from '../components/MainLayout.astro'; let title = 'The Snowpack Plugin Catalog'; let description = 'Snowpack plugins allow for configuration-minimal tooling integration.'; +let lang = 'en'; --- <!doctype html> -<html> +<html lang={ lang ?? 'en' }> <head> <BaseHead title={title} description={description} permalink="TODO" /> diff --git a/examples/snowpack/src/pages/proof-of-concept-dynamic/[slug].astro.ignore b/examples/snowpack/src/pages/proof-of-concept-dynamic/[slug].astro.ignore index 2b05bcf66..726f15642 100644 --- a/examples/snowpack/src/pages/proof-of-concept-dynamic/[slug].astro.ignore +++ b/examples/snowpack/src/pages/proof-of-concept-dynamic/[slug].astro.ignore @@ -8,6 +8,7 @@ import BaseLayout from '../components/BaseLayout.astro'; let title = 'Community & News'; let description = 'Snowpack community news and companies that use Snowpack.'; let entry; +let lang = 'en'; export default async function ({ params }) { entry = await contentful.getEntry(params.slug); @@ -15,7 +16,7 @@ export default async function ({ params }) { } --- -<html> +<html lang={ lang ?? 'en' }> <head> <BaseHead title={title} description={description} permalink="TODO" /> |