File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change
1
+ const today : Date = new Date ( ) ;
2
+ const currentMonth : number = today . getMonth ( ) ;
3
+ const currentYear : number = today . getFullYear ( ) ;
4
+
1
5
const config = {
2
6
title : 'Hacktoberfest Projects' ,
3
- description : `Quickly and easily find projects to contribute to this Hacktoberfest 2021 !` ,
7
+ description : `Quickly and easily find projects to contribute to ${ currentMonth > 9 ? `upcoming Hacktoberfest ${ currentYear + 1 } ` : ` this Hacktoberfest ${ currentYear } ` } !` ,
4
8
additionalMetaTags : [
5
9
{
6
10
property : 'keywords' ,
@@ -24,7 +28,7 @@ const config = {
24
28
locale : 'en_US' ,
25
29
url : 'https://hacktoberfest-projects.vercel.app' ,
26
30
title : 'Hacktoberfest projects' ,
27
- description : `Quickly and easily find projects to contribute to this Hacktoberfest 2022 !` ,
31
+ description : `Quickly and easily find projects to contribute to ${ currentMonth > 9 ? `upcoming Hacktoberfest ${ currentYear + 1 } ` : ` this Hacktoberfest ${ currentYear } ` } !` ,
28
32
site_name : 'Hacktoberfest projects' ,
29
33
images : [
30
34
{
You can’t perform that action at this time.
0 commit comments