Skip to content
This repository has been archived by the owner on Mar 19, 2023. It is now read-only.

Commit

Permalink
Use current year for copyright year
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahvdAa committed Mar 24, 2022
1 parent 5ec64b4 commit 6c23618
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion gulpfile.js
Expand Up @@ -61,7 +61,8 @@ gulp.task('content', () => {
let busters = JSON.parse(fs.readFileSync('dist/busters.json'));

var twigData = {
urls: {}
urls: {},
year: new Date().getFullYear()
};

Object.keys(busters).forEach(file => {
Expand Down
2 changes: 1 addition & 1 deletion src/partial/layout.twig
Expand Up @@ -127,7 +127,7 @@
<div class="container">
<div class="row">
<div class="col s12 m6 left-align">
<span class="copyright">&copy; 2021 The PaperMC Team</span>
<span class="copyright">&copy; {{ year }} The PaperMC Team</span>
</div>
<div class="col s12 m6 right-align">
<a class="white-text waves-effect" href="https://discord.gg/papermc">
Expand Down

0 comments on commit 6c23618

Please sign in to comment.