Copyright Year

Free!
Download
Description

Statamic 2

Installation

Copy addon's source code to project's site/addons/CopyrightYear directory.

Usage

Use {{ copyright_year }} tag anywhere in your templates, typically in page footer.

Example:

 <p>&copy; {{ copyright_year }} <a href="{{ site_url }}">{{ site_name }}</a>. All rights reserved.</p>

If copyright year is current year, this year is basically displayed. If copyright year is in the past, year range is displayed.

Sample output 1

Current year is 2020. Copyright year is set to 2020. Output: 2020

Sample output 2

Current year is 2020. Copyright year is set to 2019. Output: 2019-2020


Important Links
Details
Released April 8, 2020
Updated 2 months ago
Version 1.0.1
Downloads 48
Requires Statamic 2.0.0

Takács IT

Web development using Laravel, Nova, Statamic.

More by Takács IT

Similar Addons

See All
Extends the default Bard (MediumEditor) anchor functionality with internal links selection.

Anchor Extension

by Frederik Sauer in Enhancement, Modifier
Extends the default Bard (MediumEditor) anchor functionality with internal links selection.
CLI Command to convert HTML to Markdown

HTML to Markdown

by Arno Hoogma in CLI, Tool
CLI Command to convert HTML to Markdown
"Butik" is a Scandinavian term for a small to medium sized shop, precisely what this Statamic addon has been crafted for. The Statamic Butik e-commerce solution will integrate nicely with your personal Statamic site and help to grow your online business. $149

Statamic Butik

by Jonas Siewertsen in Social Media, Tool, Utility
"Butik" is a Scandinavian term for a small to medium sized shop, precisely what this Statamic addon has been crafted for. The Statamic Butik e-commerce solution will integrate nicely with your personal Statamic site and help to grow your online business.