summaryrefslogtreecommitdiff
path: root/examples/portfolio/src/pages/$projects.astro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/portfolio/src/pages/$projects.astro')
-rw-r--r--examples/portfolio/src/pages/$projects.astro3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/portfolio/src/pages/$projects.astro b/examples/portfolio/src/pages/$projects.astro
index 9a3407b83..43b39ca28 100644
--- a/examples/portfolio/src/pages/$projects.astro
+++ b/examples/portfolio/src/pages/$projects.astro
@@ -5,6 +5,7 @@ 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() {
@@ -16,7 +17,7 @@ export async function createCollection() {
}
---
-<html>
+<html lang={ lang ?? 'en' }>
<head>
<MainHead title="All Projects | Jeanine White" />
<style lang="scss">