Merge pull request #263 from teaxyz/make-date-current

copyright date is current year
This commit is contained in:
Thomas Smith 2023-01-10 10:32:30 -05:00 committed by GitHub
commit 9cb60155c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@
</div> </div>
<div class="row"> <div class="row">
<div class="col-lg-6"> <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>
<div class="col-lg-6"> <div class="col-lg-6">
{{- partial "footer-nav.html" . -}} {{- partial "footer-nav.html" . -}}
@ -38,6 +38,13 @@
</div> </div>
</section> </section>
<script>
const copyrightDate = new Date().getFullYear();
document.getElementById('copyYear').innerHTML = copyrightDate;
</script>
<!-- JavaScript Bundle with Popper --> <!-- JavaScript Bundle with Popper -->