Skip to content

Commit

Permalink
Update footer code
Browse files Browse the repository at this point in the history
  • Loading branch information
vaclavjanak committed Mar 7, 2022
1 parent b5ba655 commit c668e14
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions templates/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,15 @@ <h4>Company</h4>
</div>
<div class="mt-copyright text-center border-top border-light mt-8">
<p class="py-4">
&copy;&nbsp;<script>
document.write(new Date().getFullYear())
</script>&nbsp;<a href="{{ include.link_url }}/contacts/">MapTiler</a>. All&nbsp;rights&nbsp;reserved.
&copy;&nbsp;
<span id="copyrightYear"></span>
&nbsp;<a href="{{ include.link_url }}/contacts/">MapTiler</a>. All&nbsp;rights&nbsp;reserved.
<a href="{{ include.link_url }}/privacy-policy/">Privacy</a>&nbsp;&amp;&nbsp;<a href="{{ include.link_url }}/terms/">Terms</a>.
</p>
</div>
</div>
</div>
</footer>
<script>
document.getElementById('copyrightYear').innerHTML = new Date().getFullYear();
</script>

0 comments on commit c668e14

Please sign in to comment.