Skip to content

Commit 3d3f90b

Browse files
committed
permalink update & title update
1 parent ceaa775 commit 3d3f90b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/pages/index.astro

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
import BaseLayout from '../layouts/BaseLayout.astro';
33
4-
const title = 'My Astro Blog';
5-
const description = 'The perfect starter for your perfect blog.';
4+
const title = 'Becoming';
5+
const description = 'kaizer1v\'s site';
66
const permalink = Astro.site.href;
77
---
88

src/pages/reflections/index.astro

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import BaseLayout from '../../layouts/BaseLayout.astro';
33
44
const title = 'Reflections';
55
const description = 'thoughts and reflections.';
6-
const permalink = `${Astro.site.href}blog`;
6+
const permalink = `${Astro.site.href}reflections`;
77
88
let allPosts = await Astro.glob('../../data/blog-posts/*.md');
99
allPosts = allPosts.sort((a, b) => new Date(b.frontmatter.publishDate).valueOf() - new Date(a.frontmatter.publishDate).valueOf());
@@ -13,7 +13,7 @@ allPosts = allPosts.sort((a, b) => new Date(b.frontmatter.publishDate).valueOf()
1313
<div class="container">
1414
<h1>{title}</h1>
1515
{allPosts.map((post, index) => {
16-
const href = `/blog/${post.file.split('/').pop().split('.').shift()}`;
16+
const href = `/reflections/${post.file.split('/').pop().split('.').shift()}`;
1717
return (
1818
<div>
1919
{ index !== 0 && <hr /> }

0 commit comments

Comments
 (0)