Skip to content

Commit 6b1b50d

Browse files
authored
Implement Missing Header Feature (#1776)
1 parent a2be313 commit 6b1b50d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/_templates/layout.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
<ul>
1616
<li id="manual-link"><a href="https://www.firstinspires.org/resource-library/frc/competition-manual-qa-system">FRC Game Manual</a></li>
1717
<li id="qa-link"><a href="https://frc-qa.firstinspires.org/">FRC Game Q&A</a></li>
18+
<script id="headerscript">
19+
if( new Date().getMonth() == 3 && new Date().getDate() == 1) {
20+
document.getElementById("headerscript").insertAdjacentHTML("afterend", '<li id="water-link"><a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">Water Game</a></li>');
21+
}
22+
</script>
1823
</ul>
1924
</div>
2025
</div>

0 commit comments

Comments
 (0)