examples: Blog template changes (#4577)

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
This commit is contained in:
Daren Chandisingh 2022-09-03 15:58:00 +01:00 committed by GitHub
parent 7114aee208
commit 1bee84920a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 7 deletions

View file

@ -18,7 +18,7 @@ const {
} = Astro.props;
---
<html>
<html lang="en">
<head>
<BaseHead title={title} description={description} />
<style>

View file

@ -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>

View file

@ -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>

View file

@ -14,7 +14,7 @@ const user = { name: 'test' }; // getUser?
const cart = await getCart(Astro.request);
---
<html>
<html lang="en">
<head>
<title>Cart | Online Store</title>
<style>

View file

@ -8,7 +8,7 @@ import '../styles/common.css';
const products = await getProducts(Astro.request);
---
<html>
<html lang="en">
<head>
<title>Online Store</title>
<style>

View file

@ -3,7 +3,7 @@ import Header from '../components/Header.astro';
import Container from '../components/Container.astro';
---
<html>
<html lang="en">
<head>
<title>Online Store</title>
<style>