examples: Blog template changes (#4577)
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
This commit is contained in:
parent
7114aee208
commit
1bee84920a
6 changed files with 7 additions and 7 deletions
|
@ -18,7 +18,7 @@ const {
|
|||
} = Astro.props;
|
||||
---
|
||||
|
||||
<html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<BaseHead title={title} description={description} />
|
||||
<style>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -8,7 +8,7 @@ import '../styles/common.css';
|
|||
const products = await getProducts(Astro.request);
|
||||
---
|
||||
|
||||
<html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Online Store</title>
|
||||
<style>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue