Skip to content

Commit

Permalink
Change footer on website to become dynamic using JavaScript (#243)
Browse files Browse the repository at this point in the history
* initial commit (changed footer to be dynamic)

* Update formatting

Co-authored-by: Matthew MacRae-Bovell <[email protected]>
  • Loading branch information
Nguyen-HanhNong and MathyouMB authored Sep 1, 2022
1 parent bda5e1a commit 4282807
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Empty file added .hugo_build.lock
Empty file.
9 changes: 8 additions & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@
><i class="fab fa-github"></i
></a>
</div>
<div class="footer-copyright">© 2022 Carleton Computer Science Society</div>
<!--Added dynamic date updating with JavaScript-->
<div class="footer-copyright">
©
<script>
document.write(new Date().getFullYear());
</script>
Carleton Computer Science Society
</div>
</div>

<script
Expand Down

0 comments on commit 4282807

Please sign in to comment.