head.hbs partial

This partial is used as a beginning of your theme's *.hbs files in every file which will display the head of your website:

{{> head}}

With this solution you won't need to duplicate code nor apply changes across multiple files.

Helpers meant for the <head> section, such as publiiHead, metaDescription, metaRobots, canonicalLink, socialMetaTags, jsonLD and feedLink, usually go in this partial.

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