Skip to content

Commit

Permalink
Merge pull request #38 from wwWallet/auto-copyright-year
Browse files Browse the repository at this point in the history
Update Footer to Dynamically Display Current Year
  • Loading branch information
gkatrakazas committed Apr 4, 2024
2 parents 0851cee + 6c9515a commit 2cd5993
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions views/footer.pug
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ div.footer
#copyright-tag
small
span.fa.fa-copyright
| 2022 | GUnet
|  
span#current-year
| | GUnet

link(rel="stylesheet" href="/styles/footer.css")
link(rel="stylesheet" href="/styles/footer.css")
script.
document.getElementById('current-year').textContent = new Date().getFullYear();

0 comments on commit 2cd5993

Please sign in to comment.