summaryrefslogtreecommitdiff
path: root/examples/snowpack/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/snowpack/src')
-rw-r--r--examples/snowpack/src/pages/404.astro3
-rw-r--r--examples/snowpack/src/pages/guides.astro3
-rw-r--r--examples/snowpack/src/pages/index.astro3
-rw-r--r--examples/snowpack/src/pages/news.astro3
-rw-r--r--examples/snowpack/src/pages/plugins.astro3
-rw-r--r--examples/snowpack/src/pages/proof-of-concept-dynamic/[slug].astro.ignore3
6 files changed, 6 insertions, 12 deletions
diff --git a/examples/snowpack/src/pages/404.astro b/examples/snowpack/src/pages/404.astro
index ec3327ae4..ea70f098f 100644
--- a/examples/snowpack/src/pages/404.astro
+++ b/examples/snowpack/src/pages/404.astro
@@ -4,11 +4,10 @@ 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 lang={ lang ?? 'en' }>
+<html 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 93cedddac..ed8a6d7aa 100644
--- a/examples/snowpack/src/pages/guides.astro
+++ b/examples/snowpack/src/pages/guides.astro
@@ -23,7 +23,6 @@ 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 +40,7 @@ let lang = 'en';
---
<!doctype html>
-<html lang={ lang ?? 'en' }>
+<html 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 029692161..80a07a5d2 100644
--- a/examples/snowpack/src/pages/index.astro
+++ b/examples/snowpack/src/pages/index.astro
@@ -7,11 +7,10 @@ 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 lang={ lang ?? 'en' }>
+<html 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 a8b99678e..92ab3c6ef 100644
--- a/examples/snowpack/src/pages/news.astro
+++ b/examples/snowpack/src/pages/news.astro
@@ -14,11 +14,10 @@ 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 lang={ lang ?? 'en' }>
+<html 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 3ff13c115..fca55da2e 100644
--- a/examples/snowpack/src/pages/plugins.astro
+++ b/examples/snowpack/src/pages/plugins.astro
@@ -5,11 +5,10 @@ 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 lang={ lang ?? 'en' }>
+<html 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 726f15642..99056f1e9 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,7 +8,6 @@ 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);
@@ -16,7 +15,7 @@ export default async function ({ params }) {
}
---
-<html lang={ lang ?? 'en' }>
+<html lang="en">
<head>
<BaseHead title={title} description={description} permalink="TODO" />