diff options
author | 2021-07-13 10:57:40 -0400 | |
---|---|---|
committer | 2021-07-13 10:57:40 -0400 | |
commit | 4b1f5c3dc627e62b78a6993f502a35712cb9f400 (patch) | |
tree | 0692da531038b8d59b7662feb98c4ca76aed2e8f /examples/blog/src | |
parent | 3f14bed413074aba0ab9199d3a2e24802f51eb72 (diff) | |
download | astro-4b1f5c3dc627e62b78a6993f502a35712cb9f400.tar.gz astro-4b1f5c3dc627e62b78a6993f502a35712cb9f400.tar.zst astro-4b1f5c3dc627e62b78a6993f502a35712cb9f400.zip |
code review comments
Diffstat (limited to 'examples/blog/src')
-rw-r--r-- | examples/blog/src/pages/index.astro | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/blog/src/pages/index.astro b/examples/blog/src/pages/index.astro index 3c9fdd5a0..017daa54a 100644 --- a/examples/blog/src/pages/index.astro +++ b/examples/blog/src/pages/index.astro @@ -11,7 +11,6 @@ import BlogPostPreview from '../components/BlogPostPreview.astro'; let title = 'Example Blog'; let description = 'The perfect starter for your perfect blog.'; let permalink = 'https://example.com/'; -let lang = 'en'; // Data Fetching: List all Markdown posts in the repo. let allPosts = Astro.fetchContent('./posts/*.md'); @@ -20,7 +19,7 @@ allPosts = allPosts.sort((a, b) => new Date(b.publishDate) - new Date(a.publishD // Full Astro Component Syntax: // https://github.com/snowpackjs/astro/blob/main/docs/core-concepts/astro-components.md --- -<html lang={ lang ?? 'en' }> +<html lang="en"> <head> <BaseHead title={title} description={description} permalink={permalink} /> <link rel="stylesheet" href="/blog.css" /> |