mirror of
https://github.com/ivabus/www
synced 2024-11-26 16:05:06 +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>
|
||||||
<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 -->
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue