diff --git a/src/router.ts b/src/router.ts index 53059b4..cf8c169 100644 --- a/src/router.ts +++ b/src/router.ts @@ -30,7 +30,7 @@ const router = createRouter({ }, meta: { title: { - text: 'Real-time GitHub Contribution City 2023', + text: `Real-time GitHub Contribution City ${new Date().getFullYear()}`, style: { color: 'white' } diff --git a/vite.config.ts b/vite.config.ts index 7841c5e..2d79804 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -33,7 +33,7 @@ export default defineConfig({ template: 'template-3d.html', inject: { data: { - title: 'Real-time GitHub Contribution City 2023 | OSS Insight', + title: `Real-time GitHub Contribution City ${new Date().getFullYear()} | OSS Insight`, description: 'A 3D city created with GitHub contribution graph, you can see how developers build the open source world with corporations in real-time.', keywords: 'GitHub contribution graph,3d GitHub contribution,GitHub city,Real-time GitHub Contribution,live GitHub contribution city,open-source corporation,data flow,pull requests in GitHub', home: 'https://live.ossinsight.io/',