1
0
Fork 0
mirror of https://github.com/element-hq/synapse.git synced 2025-03-31 03:45:13 +00:00
This commit is contained in:
MomentQYC 2025-03-28 12:46:30 +00:00 committed by GitHub
commit 0d7b493a8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1 @@
Dynamically update the year in the footer.

View file

@ -15,5 +15,11 @@
</g>
</g>
</svg>
<p>An open network for secure, decentralized communication.<br>© 2023 The Matrix.org Foundation C.I.C.</p>
<p>An open network for secure, decentralized communication.<br>&copy; <span id="currentyear">2024</span> The Matrix.org Foundation C.I.C.</p>
</footer>
<script>
if (typeof document !== 'undefined' && document.getElementById) {
var currentYear = new Date().getFullYear();
document.getElementById('currentyear').textContent = currentYear;
}
</script>