Log in Sign up

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!


2 years ago, 2 replies   developers   Edit 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 2 years ago · Edit answer

Great, thanks for the advice.

Answered 2 years ago · Edit answer