Introduction - tags

Every type of available template *.hbs file has access to a specific list of Handlebars tags.

We have divided them into two groups: template-related tags and common tags.

Template-related tags are available only in a specific template file when common tags are available in the same form for other templates.

Publii uses a few Handlebars template files to render your website:

Many of these tags return items with their own fields: post, page, tag, author and featured image items.

Additionally, for posts, tags and authors pages you can create and use templates. In this case, your file names will contain a slug connected with the specific template. You can read more about it in the custom templates guide.

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