Helpers (56)
{{encodeUrl}} helper
Helper used if you need to use an URL inside the other URL i.e. when you are using the social sharing scripts. To encode plain…
{{imageDimensions}} helper
Create height/width attributes for a given image. Use it with images from theme options, so the browser can reserve space for the image before it…
{{#checkIfAny}} helper
Block helper for creating conditions where all elements are connected using OR operator. Use it to show a block when at least one of the…
{{math}} helper
Helper for doing a simple math operation. Use it in loops, for example to number items from 1 instead of 0 with @index. The helper…
{{canonicalLink}} helper
Generates link element with URL to the canonical version of the specific page. Syntax: {{canonicalLink}} This helper has no additional params. Example output: <link rel="canonical"…
{{metaDescription}} helper
Helper for generating description meta tag. Publii takes the text from the SEO settings of the current post, page, tag or author, or from the…
{{date}} helper
Generate the date in the specified format. The date format must be compatible with the moment().js library. This flexibility now extends to specifying the language…
{{ampLink}} helper
Notice: Update Regarding AMP Functionality We regret to inform you that the AMP functionality has been removed from our application starting with version 0.42.0 and…