Update copyright year in footer and license file (#799) (#808)

Co-authored-by: Subash Chandra Sapkota <scs@logpoint.com>
This commit is contained in:
Subash Chandra Sapkota 2023-09-06 01:45:48 +05:45 committed by GitHub
parent aaf0833ab2
commit 541047561b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2012 - 2019 Contributors to https://github.com/h5bp/Front-end-Developer-Interview-Questions
Copyright (c) 2012 - 2023 Contributors to https://github.com/h5bp/Front-end-Developer-Interview-Questions
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

6
src/_data/helpers.js Normal file
View File

@ -0,0 +1,6 @@
module.exports = {
currentYear() {
const today = new Date();
return today.getFullYear();
},
};

View File

@ -1,6 +1,6 @@
<footer class="footer">
<p class="footer-text">
Copyright &copy; 2012 - 2022. Contributors to
Copyright &copy; 2012 - {{ helpers.currentYear() }}. Contributors to
<a href="https://github.com/h5bp/Front-end-Developer-Interview-Questions/blob/main/CONTRIBUTORS.md">Front-end-Developer-Interview-Questions.</a><br>
Curious about the project? <a href="{{ '/about/' | url }}">Read more about here</a>.
</p>