File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11const yaml = require ( "js-yaml" ) ;
22
33module . exports = function ( eleventyConfig ) {
4+ eleventyConfig . addShortcode ( "currentYear" , function ( ) {
5+ return new Date ( ) . getFullYear ( ) ;
6+ } ) ;
47 // Add this line to copy your external assets
58 eleventyConfig . addPassthroughCopy ( "src/assets" ) ;
69 // 1. Recognize YAML as a template format
Original file line number Diff line number Diff line change 66 <title >{{ name }} | {{ role }} </title >
77 <script src =" https://cdn.tailwindcss.com" ></script >
88 <link rel =" stylesheet" href =" /assets/css/style.css" >
9- <script >
10- const saved = localStorage .getItem (' theme' );
11- if (saved === ' dark' ) document .documentElement .classList .add (' dark' );
12- </script >
139</head >
14- <body class =" min-h-screen" >
10+ <body class =" min-h-screen scroll-smooth bg-[var(--bg-page)] text-[var(--text-main)] transition-colors duration-300 " " >
1511
1612 {% include " header.njk " %}
1713
Original file line number Diff line number Diff line change 77 </p >
88
99 <p class =" mt-1 text-[var(--text-muted)] text-[10px] font-mono uppercase tracking-[0.15em]" >
10- © ; <span id =" current-year" >2026 </span > Built with
10+ © ; <span id =" current-year" >{% currentYear %} </span > Built with
1111 <span id =" footer-heart" class =" transition-colors duration-500" >❤️</span >
1212 by the Open-Source Community
1313 </p >
Original file line number Diff line number Diff line change @@ -64,11 +64,6 @@ layout: false
6464 </div >
6565 </main >
6666
67- <div id =" matrix-overlay" class =" fixed inset-0 bg-black hidden z-[9999]" >
68- <canvas id =" matrix-canvas" ></canvas >
69- <button onclick =" closeMatrix()" class =" fixed top-8 right-8 z-[10000] bg-white/10 text-white px-4 py-2 rounded-full border border-white/20 backdrop-blur-md text-xs" >EXIT [ESC]</button >
70- </div >
71-
7267 {% include " footer.njk" %}
7368
7469</body >
You can’t perform that action at this time.
0 commit comments