Skip to content

Commit

Permalink
refactor: make title independent of the year
Browse files Browse the repository at this point in the history
  • Loading branch information
rileychh committed Sep 4, 2024
1 parent 73e4e2c commit ebb7b1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default defineConfig({
Icons({ compiler: 'vue3' }),
],
},
title: `COSCUP ${conference.year}`,
title: conference.title,
description: 'A VitePress Site',
srcDir: 'content',
base: `/${conference.year}`,
Expand Down
1 change: 1 addition & 0 deletions data/conference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* Conference date: {{ start }} ~ {{ end }}
*/
export const conference = {
title: 'COSCUP 2024',
year: 2024,
startDate: new Date('2024-08-03'),
endDate: new Date('2024-08-04'),
Expand Down

0 comments on commit ebb7b1e

Please sign in to comment.