Skip to content

Commit 8166f4b

Browse files
authored
Merge pull request #541 from 317brian/fix-footer
fix: automate copyright year
2 parents 6c7532c + d80a121 commit 8166f4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const Redirects = require('./redirects.js').Redirects;
2-
2+
const copyright = `Copyright © ${new Date().getFullYear()}`;
33
/*
44
buildVersion is used for 2 things:
55
@@ -146,7 +146,7 @@ module.exports={
146146
"image": "img/druid_nav.png",
147147
"footer": {
148148
"links": [],
149-
"copyright": "Copyright © 2023 Apache Software Foundation. Except where otherwise noted, licensed under CC BY-SA 4.0. Apache Druid, Druid, and the Druid logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.",
149+
"copyright": copyright + " Apache Software Foundation. Except where otherwise noted, licensed under CC BY-SA 4.0. Apache Druid, Druid, and the Druid logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.",
150150
"logo": {
151151
"src": "img/favicon.png"
152152
}

0 commit comments

Comments
 (0)