summaryrefslogtreecommitdiff
path: root/examples/blog/src/layouts/BlogPost.astro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/blog/src/layouts/BlogPost.astro')
-rw-r--r--examples/blog/src/layouts/BlogPost.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/blog/src/layouts/BlogPost.astro b/examples/blog/src/layouts/BlogPost.astro
index e6b644789..1b02d7aad 100644
--- a/examples/blog/src/layouts/BlogPost.astro
+++ b/examples/blog/src/layouts/BlogPost.astro
@@ -7,7 +7,7 @@ import BlogPost from '../components/BlogPost.astro';
const {content} = Astro.props;
const {title, description, publishDate, author, heroImage, permalink} = content;
---
-<html>
+<html lang={ content.lang ?? 'en' }>
<head>
<BaseHead title={title} description={description} permalink={permalink} />
<link rel="stylesheet" href="/blog.css" />