GitHub Download

@utils global variable

 The @utils global variable has been create to store useful values. 

At this moment @utils contains only two fields:

currentYear which can be used to create footers which will contain proper year value after the website sync:

Copyright by X {{@utils.currentYear}}. All rights reserved.

buildDate - it returns the build timestamp, which can be used to generate the human-readable date along with the date helper:

{{date @utils.buildDate 'YYYY-MM-DD HH:mm'}}


Get the latest Publii news, updates and more delivered directly to your email inbox

You can change your mind at any time by clicking the unsubscribe link in the footer of any email you receive from us, or by contacting us at By clicking below, you agree that we may process your information in accordance with our Privacy Policy.