copyright date is current year

This commit is contained in:
Thomas Smith 2023-01-10 10:16:23 -05:00
parent 05fca4db5b
commit 6b5b73a4cd

View file

@ -29,7 +29,7 @@
</div>
<div class="row">
<div class="col-lg-6">
<p class="small">©2022 tea inc. You can also share our <a href="https://linktr.ee/teaxyz" class="teal">Linktree</a>.</p>
<p class="small">©<span id="copyYear"></span> tea inc. You can also share our <a href="https://linktr.ee/teaxyz" class="teal">Linktree</a>.</p>
</div>
<div class="col-lg-6">
{{- partial "footer-nav.html" . -}}
@ -38,6 +38,13 @@
</div>
</section>
<script>
const copyrightDate = new Date().getFullYear();
document.getElementById('copyYear').innerHTML = copyrightDate;
</script>
<!-- JavaScript Bundle with Popper -->