copyright

For example, if the input date was 2012 and the current year is 2013, then the copyright filter will output © 2012-2013. If however, the input date is 2012 and 2012 is the current year, it will simplify the output to © 2012.

Specification

{{ date | copyright }}

Parameter Description Example Values
date (required) The start date to be used in the start of the copyright notice. account.created_at

Examples

{{ account.created_at | copyright }} {{ account.organisation.name }}. All rights reserved.

This will output:

© 2011-2011 Melbourne Systems Pty Limited. All rights reserved.