We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8585470 commit 3a52711Copy full SHA for 3a52711
index.html
@@ -141,11 +141,8 @@
141
});
142
143
hook.afterEach(function (html) {
144
- const footer = [
145
- "<footer>",
146
- '<span>Copyright © 2018-2021 <a href="https://github.com/doocs" target="_blank">Doocs</a>. All rights reserved.',
147
- "</footer>",
148
- ].join("");
+ const currentYear = new Date().getFullYear()
+ const footer = `<footer><span>Copyright © 2018-${currentYear} <a href="https://github.com/doocs" target="_blank">Doocs</a>. All Rights Reserved</footer>`
149
return html + footer;
150
151
},
0 commit comments