diff --git a/.config/astro.config.ts b/.config/astro.config.ts
index 985be56c..870c1479 100644
--- a/.config/astro.config.ts
+++ b/.config/astro.config.ts
@@ -13,6 +13,7 @@ export default defineConfig({
site: config.siteUrl,
output: 'static',
cacheDir: '.astro',
+ trailingSlash: 'always',
markdown: {
remarkPlugins: [remarkLeadParagraph, remarkToc as any],
shikiConfig: {
diff --git a/.config/blog.config.ts b/.config/blog.config.ts
index 9cd578d1..96e577a7 100644
--- a/.config/blog.config.ts
+++ b/.config/blog.config.ts
@@ -18,23 +18,23 @@ export default {
menu: [
{
title: 'Articles',
- link: '/archive'
+ link: '/archive/'
},
{
title: 'Photos',
- link: '/photos'
+ link: '/photos/'
},
{
title: 'Goodies',
- link: '/tags/goodies'
+ link: '/tags/goodies/'
},
{
title: 'Tags',
- link: '/tags'
+ link: '/tags/'
},
{
title: '/Uses',
- link: '/uses'
+ link: '/uses/'
}
]
}
diff --git a/src/components/Footer/index.astro b/src/components/Footer/index.astro
index e033c6ff..d559bb3a 100644
--- a/src/components/Footer/index.astro
+++ b/src/components/Footer/index.astro
@@ -21,7 +21,7 @@ const { name, url, github } = config.author
View source
-
+
Say Thanks
diff --git a/src/components/Pagination/PageNumber.astro b/src/components/Pagination/PageNumber.astro
index e35bba98..1e46c0d1 100644
--- a/src/components/Pagination/PageNumber.astro
+++ b/src/components/Pagination/PageNumber.astro
@@ -10,7 +10,7 @@ type Props = {
const { i, slug, current } = Astro.props
const classes = current ? `${styles.number} ${styles.current}` : styles.number
-const link = i === 0 ? slug : `${slug}/${i + 1}`
+const link = i === 0 ? slug : `${slug}/${i + 1}/`
---
diff --git a/src/components/Pagination/index.astro b/src/components/Pagination/index.astro
index db4f142c..c601bff6 100644
--- a/src/components/Pagination/index.astro
+++ b/src/components/Pagination/index.astro
@@ -15,11 +15,11 @@ const isLast = currentPage === numPages
---
diff --git a/src/components/PhotoTeaser.astro b/src/components/PhotoTeaser.astro
index f091eb5a..381cf519 100644
--- a/src/components/PhotoTeaser.astro
+++ b/src/components/PhotoTeaser.astro
@@ -16,7 +16,7 @@ const { title, image } = data
{
image ? (
-
+