Skip to content

Commit 1a9c672

Browse files
authored
fix: dynamic year value
1 parent f175c74 commit 1a9c672

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const router = createRouter({
3030
},
3131
meta: {
3232
title: {
33-
text: 'Real-time GitHub Contribution City 2023',
33+
text: `Real-time GitHub Contribution City ${new Date().getFullYear()}`,
3434
style: {
3535
color: 'white'
3636
}

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default defineConfig({
3333
template: 'template-3d.html',
3434
inject: {
3535
data: {
36-
title: 'Real-time GitHub Contribution City 2023 | OSS Insight',
36+
title: `Real-time GitHub Contribution City ${new Date().getFullYear()} | OSS Insight`,
3737
description: 'A 3D city created with GitHub contribution graph, you can see how developers build the open source world with corporations in real-time.',
3838
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',
3939
home: 'https://live.ossinsight.io/',

0 commit comments

Comments
 (0)