Your sites Log in Sign up Menu

Adding a copyright statement

Is there a smart way to add a discrete copyright statement (eg. C 2023 XX, all rights reserved) as a footer to all pages? I'm using Diary template. Thanks!


a year ago, 2 replies   developers   Improve this question

Yes, you should fork an editable copy of your template if you haven't already and then add your statement to your template's footer.html file.

If you were using the Blog template, I'd insert something like this just before the script tag:

<p>© <span id="year"></span> {{title}}</p>
<script type="text/javascript">
document.getElementById("year").innerHTML = new Date().getFullYear();
</script>

However, if I were you I wouldn't do this, copyright statements provide little benefit and are unaesthetic.

Please let me know if you have any questions about this or anything else

Answered a year ago · Improve this answer

Great, thanks for the advice.

Answered a year ago · Improve this answer