Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Output current year in Copyright line
<f:if condition="{settings.disableCopyright} != '1'">
&copy; {settings.copyrightStart}-<f:format.date format="Y">{v:system.timestamp()}</f:format.date> <a href="{settings.copyrightLink}" target="_blank">{settings.copyrightName}</a>
</f:if>
@shm-sl

This comment has been minimized.

Copy link

@shm-sl shm-sl commented Jul 16, 2019

<f:format.date date="now" format="Y" /> also works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment