summaryrefslogtreecommitdiff
path: root/examples/portfolio/src/pages/404.astro
diff options
context:
space:
mode:
authorGravatar Shreesh Bhat <shreeshbhat@users.noreply.github.com> 2021-07-12 23:46:28 -0400
committerGravatar Shreesh Bhat <shreeshbhat@users.noreply.github.com> 2021-07-13 00:49:13 -0400
commit3f14bed413074aba0ab9199d3a2e24802f51eb72 (patch)
tree5460d384a66f5c428c8617eddb511e6f55adfb9e /examples/portfolio/src/pages/404.astro
parent1b13f5c158b5fbe157406308205c0939b415e1d7 (diff)
downloadastro-3f14bed413074aba0ab9199d3a2e24802f51eb72.tar.gz
astro-3f14bed413074aba0ab9199d3a2e24802f51eb72.tar.zst
astro-3f14bed413074aba0ab9199d3a2e24802f51eb72.zip
Add lang attribute to html tags
Diffstat (limited to 'examples/portfolio/src/pages/404.astro')
-rw-r--r--examples/portfolio/src/pages/404.astro4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/portfolio/src/pages/404.astro b/examples/portfolio/src/pages/404.astro
index 6929c61e9..2368b2531 100644
--- a/examples/portfolio/src/pages/404.astro
+++ b/examples/portfolio/src/pages/404.astro
@@ -2,9 +2,11 @@
import MainHead from '../components/MainHead.astro';
import Footer from '../components/Footer/index.jsx';
import Nav from '../components/Nav/index.jsx';
+
+let lang = 'en';
---
-<html>
+<html lang={ lang ?? 'en' }>
<head>
<MainHead title="Not Found" />
</head>