• {{#isNot}} helper

    The {{#isNot}} helper is a block helper designed to check if a specific context is not loaded. Think of it as the opposite of {{#is}}…

  • {{#getPagesByCustomFields}} helper

    The {{getPagesByCustomFields}} helper is designed to retrieve page data based on the criteria defined by custom fields. This powerful feature allows for more precise control…

  • {{#getPages}} helper

    {{getPages}} is a helper used to retrieve page data regardless of the current context. Syntax: {{#getPages "pageID1,pageID2,pageID3" "before" "after"}} ... {{/getPages}} Example: {{#getPages "PAGE_ID_1,PAGE_ID_2,PAGE_ID_N" "<ul>"…

  • {{#getPage}} helper

    {{getPage}} is a helper used to retrieve page data regardless of the current context. To get several pages at once, use getPages. Syntax: {{#getPage pageID}}…

  • {{getPostsByCustomFields}}

    The {{getPostsByCustomFields}} helper is designed to retrieve post data based on the criteria defined by custom fields. This powerful feature allows for more precise control…

  • {{#notContains}} helper

    The {{#notContains}} helper is a custom Handlebars helper designed to determine if a given value does not exist within a comma-separated string. This can be…

  • {{asset}} helper

    {{asset}} is a helper used to retrieve asset URLs Syntax: {{ asset "PATH_TO_ASSET" }} Example: {{ asset "css/main.css" }} It returns URL concatenated by the…

  • {{#getAuthors}} helper

    {{#getAuthors}} is a helper used to retrieve authors data regardless of the current context. To get a single author, use getAuthor. Syntax: {{#getAuthors "AUTHOR_ID1,AUTHOR_ID2,AUTHOR_ID3" "before"…

  • {{#getAuthor}} helper

    {{#getAuthor}} is a helper used to retrieve author data regardless of the current context. To get several authors at once, use getAuthors. Syntax: {{#getAuthor AUTHOR_ID}}…

  • {{lazyload}} helper

    Generate loading attribute with a specific value. Can be used with images and iframes to optimize page loading speed. {{lazyload "VALUE"}} Currently available values: Example:…

  • {{responsiveImageAttributes}} helper

    The responsiveImageAttributes helper dynamically generates the srcset and sizes attributes for images, guiding the browser to select the most suitable image source based on the…

  • {{#contains}} helper

    If you need to check if some value exists in a given string which contains values separated by comma - use the {{#contains}} helper. To…

Create your first website with Publii

Join thousands of creators who chose independence. Create content locally and publish lightning-fast, secure websites on your own terms.

Download Publii

Free and open source. Windows, macOS and Linux.

Read the getting started guide