diff options
author | 2022-09-03 15:58:00 +0100 | |
---|---|---|
committer | 2022-09-03 16:58:00 +0200 | |
commit | 1bee84920ad9ad106f8e1eef85294d1809795533 (patch) | |
tree | cbe720f572cab96a5d726104f335e55ca7e63469 /examples/blog/src | |
parent | 7114aee20886d2ff22b41d8c6db22a88eb458c8e (diff) | |
download | astro-1bee84920ad9ad106f8e1eef85294d1809795533.tar.gz astro-1bee84920ad9ad106f8e1eef85294d1809795533.tar.zst astro-1bee84920ad9ad106f8e1eef85294d1809795533.zip |
examples: Blog template changes (#4577)
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Diffstat (limited to 'examples/blog/src')
-rw-r--r-- | examples/blog/src/layouts/BlogPost.astro | 2 | ||||
-rw-r--r-- | examples/blog/src/pages/blog.astro | 4 | ||||
-rw-r--r-- | examples/blog/src/pages/index.astro | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/examples/blog/src/layouts/BlogPost.astro b/examples/blog/src/layouts/BlogPost.astro index e956e1c59..254959d7a 100644 --- a/examples/blog/src/layouts/BlogPost.astro +++ b/examples/blog/src/layouts/BlogPost.astro @@ -18,7 +18,7 @@ const { } = Astro.props; --- -<html> +<html lang="en"> <head> <BaseHead title={title} description={description} /> <style> diff --git a/examples/blog/src/pages/blog.astro b/examples/blog/src/pages/blog.astro index 0009d4382..a681736ab 100644 --- a/examples/blog/src/pages/blog.astro +++ b/examples/blog/src/pages/blog.astro @@ -11,7 +11,7 @@ const posts = (await Astro.glob('./blog/*.{md,mdx}')).sort( --- <!DOCTYPE html> -<html lang="en-us"> +<html lang="en"> <head> <BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} /> <style> @@ -51,7 +51,7 @@ const posts = (await Astro.glob('./blog/*.{md,mdx}')).sort( ))} </ul> </section> - <Footer /> </main> + <Footer /> </body> </html> diff --git a/examples/blog/src/pages/index.astro b/examples/blog/src/pages/index.astro index b85a0b6dd..aaa9a1f07 100644 --- a/examples/blog/src/pages/index.astro +++ b/examples/blog/src/pages/index.astro @@ -6,7 +6,7 @@ import { SITE_TITLE, SITE_DESCRIPTION } from '../config'; --- <!DOCTYPE html> -<html lang="en-us"> +<html lang="en"> <head> <BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} /> </head> |