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;
|
} = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<BaseHead title={title} description={description} />
|
<BaseHead title={title} description={description} />
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -11,7 +11,7 @@ const posts = (await Astro.glob('./blog/*.{md,mdx}')).sort(
|
||||||
---
|
---
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en-us">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
|
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
|
||||||
<style>
|
<style>
|
||||||
|
@ -51,7 +51,7 @@ const posts = (await Astro.glob('./blog/*.{md,mdx}')).sort(
|
||||||
))}
|
))}
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
<Footer />
|
|
||||||
</main>
|
</main>
|
||||||
|
<Footer />
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { SITE_TITLE, SITE_DESCRIPTION } from '../config';
|
||||||
---
|
---
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en-us">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
|
<BaseHead title={SITE_TITLE} description={SITE_DESCRIPTION} />
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -14,7 +14,7 @@ const user = { name: 'test' }; // getUser?
|
||||||
const cart = await getCart(Astro.request);
|
const cart = await getCart(Astro.request);
|
||||||
---
|
---
|
||||||
|
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>Cart | Online Store</title>
|
<title>Cart | Online Store</title>
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -8,7 +8,7 @@ import '../styles/common.css';
|
||||||
const products = await getProducts(Astro.request);
|
const products = await getProducts(Astro.request);
|
||||||
---
|
---
|
||||||
|
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>Online Store</title>
|
<title>Online Store</title>
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -3,7 +3,7 @@ import Header from '../components/Header.astro';
|
||||||
import Container from '../components/Container.astro';
|
import Container from '../components/Container.astro';
|
||||||
---
|
---
|
||||||
|
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>Online Store</title>
|
<title>Online Store</title>
|
||||||
<style>
|
<style>
|
||||||
|
|
Loading…
Add table
Reference in a new issue