File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ module.exports = function (eleventyConfig) {
99 eleventyConfig . addPassthroughCopy ( './src/css/tailwind.include.css' ) ;
1010 eleventyConfig . addPassthroughCopy ( { public : './' } ) ;
1111
12+ eleventyConfig . addShortcode ( 'year' , function ( ) {
13+ return new Date ( ) . getFullYear ( ) . toString ( ) ;
14+ } ) ;
15+
1216 eleventyConfig . addPlugin ( inclusiveLangPlugin ) ;
1317
1418 if ( process . env . ELEVENTY_ENV === 'production' ) {
Original file line number Diff line number Diff line change 44 class =" flex justify-center items-start space-x-16 divide-x-2 divide-gray-100 divide"
55 >
66 <div class =" px-2" >
7- <!-- <h6 class="uppercase text-sm font-semibold">Meetup</h6> -->
87 <h5
98 class =" uppercase inline-block bg-black text-white font-bold px-4 mb-2 transform -rotate-1"
109 >
2120 </ul >
2221 </div >
2322 <div class =" px-2" >
24- <!-- <h6 class="uppercase text-sm font-semibold">Connect</h6> -->
2523 <h5
2624 class =" uppercase inline-block bg-black text-white font-bold px-4 mb-2 transform rotate-1"
2725 >
3937 </div >
4038 </div >
4139 <div class =" text-center text-sm py-8" >
42- <p >© 2020 JavaScriptMN</p >
40+ <p >© {% year %} JavaScriptMN</p >
4341 </div >
4442 </div >
4543</footer >
You can’t perform that action at this time.
0 commit comments