Skip to content

Commit 2759b0f

Browse files
Vaibhav911jayvdb
authored andcommitted
Make copyright year dynamic in coala.io
This entrypoint ensures copyright year in foot of coala.io updates every year automatically. This helps in not updating the same every year. Closes #290
1 parent adbadda commit 2759b0f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

includes/footer.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,14 @@ <h5 class="white-text fine">coala</h5>
6060
</div>
6161
<div class="footer-copyright">
6262
<div class="container">
63-
<span class="left">© 2017 coala</span>
63+
<span class="left">
64+
©
65+
<script>
66+
document.getElementById("current-year").innerHTML=new Date().getFullYear();
67+
</script>
68+
<span id="current-year"></span>
69+
coala
70+
</span>
6471
<a class="grey-text text-lighten-4 right" href="#!">GNU AGPL v3.0</a>
6572
</div>
6673
</div>

0 commit comments

Comments
 (0)