CODE
Site Footer Dynamic Copyright Year
A simple format for adding a copyright statement to your website with a self updating year date.
v1.0.0
-
No more manually updating copyright dates! Simplpy add your copyright statement with the Liquid date tag below for a set-and-forget copyright date:
{% comment %}<!-- Treehouse CODE v1.0.0 -->{% endcomment %} <p>Copyright © <strong>Your business name here</strong> {{ "now" | date: "%Y" }} All rights reserved.</p>
This will output like so:
Copyright © Your business name here 2024 All rights reserved.
Comments or questions? Head over to the Treepl CMS forum to discuss with the community.