Skip to content

Commit 6c28623

Browse files
committed
chore: remove about page and exclude /tags/ from sitemap
- Delete unused about page - Filter /tags/ paths from sitemap generation
1 parent 9493436 commit 6c28623

2 files changed

Lines changed: 6 additions & 125 deletions

File tree

astro.config.mjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ import rehypeKatex from 'rehype-katex';
99
// https://astro.build/config
1010
export default defineConfig({
1111
site: 'https://ppippi.dev',
12-
integrations: [mdx(), sitemap()],
12+
integrations: [
13+
mdx(),
14+
sitemap({
15+
filter: (page) => !page.includes('/tags/'),
16+
}),
17+
],
1318
markdown: {
1419
remarkPlugins: [remarkMath],
1520
rehypePlugins: [rehypeKatex],

src/pages/about.astro

Lines changed: 0 additions & 124 deletions
This file was deleted.

0 commit comments

Comments
 (0)