Skip to content

Commit 27a6d88

Browse files
fix: blog re-direct links
1 parent e60ffbc commit 27a6d88

File tree

2 files changed

+37
-12
lines changed

2 files changed

+37
-12
lines changed

.idea/workspace.xml

Lines changed: 16 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

next.config.js

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,25 @@
11
const withNextra = require('nextra')({
2-
theme: 'nextra-theme-docs',
3-
themeConfig: './theme.config.tsx',
2+
theme: 'nextra-theme-docs',
3+
themeConfig: './theme.config.tsx',
4+
async redirects() {
5+
return [
6+
{
7+
source: 'blog/v7-0',
8+
destination: '/blog/andronix-v7',
9+
permanent: true,
10+
},
11+
{
12+
source: 'blog/v6-0',
13+
destination: '/blog/andronix-v6',
14+
permanent: true,
15+
},
16+
{
17+
source: 'blog/andronix-termux-and-f-droid/',
18+
destination: '/blog/andronix-termux-and-f-droid',
19+
permanent: true,
20+
},
21+
];
22+
},
423
})
524

625
module.exports = withNextra()

0 commit comments

Comments
 (0)