diff --git a/src/config.ts b/src/config.ts index 156535d..9579a5a 100644 --- a/src/config.ts +++ b/src/config.ts @@ -37,12 +37,12 @@ export const navBarConfig: NavBarConfig = { links: [ LinkPreset.Home, LinkPreset.Archive, - LinkPreset.About, { - name: 'Memos', + name: '说说', url: '/memos', // Internal links should not include the base path, as it is automatically added - external: true, // Show an external link icon and will open in a new tab + external: false, // Show an external link icon and will open in a new tab }, + LinkPreset.About, { name: 'GitHub', url: 'https://github.com/jkjoy', // Internal links should not include the base path, as it is automatically added diff --git a/src/pages/memos.astro b/src/pages/memos.astro index 42d8c0f..56c442e 100644 --- a/src/pages/memos.astro +++ b/src/pages/memos.astro @@ -15,7 +15,23 @@ const { Content } = await aboutPost.render()