Copyright update to 2016
Closed this issue · 5 comments
mrb113 commented
I don't have a way to test this so I don't want to send a pull request and ruin your website, but what you can do instead of just putting "Copyright 2015" and needing to update it every year is this:
<div id="copyright">
<footer class="inner">
<p>©
<script type="text/javascript">
var d = new Date();
document.write(d.getFullYear());
</script> Hacker Society</p>
</footer>
</div>
(can probably make that shorter but I'm rubbish at javascript)
which should come out like © 2016 Hacker Society
mrb113 commented
test it to be sure though :)
ajm188 commented
What about people with <noscript>
?
mrb113 commented
can probs add a generic copyright line between noscript tags. or just not use the auto javascript and manually put it to 2016
ajm188 commented
I'm fine with either of those two options