diff --git a/LICENSE.md b/LICENSE.md index 24f03e5..0721195 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -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: diff --git a/src/_data/helpers.js b/src/_data/helpers.js new file mode 100644 index 0000000..e77b7f9 --- /dev/null +++ b/src/_data/helpers.js @@ -0,0 +1,6 @@ +module.exports = { + currentYear() { + const today = new Date(); + return today.getFullYear(); + }, +}; diff --git a/src/_includes/components/footer.njk b/src/_includes/components/footer.njk index badabc4..e3975f7 100644 --- a/src/_includes/components/footer.njk +++ b/src/_includes/components/footer.njk @@ -1,6 +1,6 @@