How To Edit Website Copyright Year

  • Click on the TWH Admin link on your website.
  • Click on the Database Admin link.
  • Click on the Templates link just after the Dbtemplates link.
  • If you DO NOT see a base.html link:
    • Click on the Add template link.
    • Type base.html into the Name field.
    • Click on the Save and continue editing button. This will load the base.html template.
  • If you SEE a base.html link:
    • Click on the base.html link.
  • If the Content field DOES NOT contain {% block copyrightyear %}your copyright year text{% endblock %}
    • At the end of the Content field add the text {% block copyrightyear %} your copyright year text here {% endblock %}.
  • If the Content field CONTAINS {% block copyrightyear %}your copyright year text{% endblock %}
    • In the Content field find and replace the text between {% block copyrightyear %} and {% endblock %} with your copyright year text.
  • Click on the Save button.
  • Go to the home webpage for your website.

By default the copyright year is the current year. If you want to use the current year in your copyright year text you can use {{ block.super }}.

Comment (0)