Skip to content

Commit

Permalink
Update footer.html to update copyright year dynamically
Browse files Browse the repository at this point in the history
Update footer.html to update copyright year dynamically
  • Loading branch information
msmygit authored Sep 16, 2024
1 parent 04badf3 commit 8479f20
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="row">
<div class="col-md-4">
<p class="copyright">
© 2023 Stargate Project Authors
© <span id="cyear"></span> Stargate Project Authors
</p>
</div>
<div class="col-md-4">
Expand Down Expand Up @@ -53,4 +53,7 @@
</div>
</div>
</div>
<script>
document.getElementById("cyear").textContent = new Date().getFullYear();
</script>
</footer>

0 comments on commit 8479f20

Please sign in to comment.