mirror of
https://github.com/ivabus/www
synced 2024-11-26 07:45:05 +03:00
Merge pull request #263 from teaxyz/make-date-current
copyright date is current year
This commit is contained in:
commit
9cb60155c2
1 changed files with 8 additions and 1 deletions
|
@ -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 -->
|
||||
|
||||
|
|
Loading…
Reference in a new issue