Introduction - global variables

During website rendering, you have access to a few global variables which store objects with additional useful data.

Custom code that users add in Tools → Custom HTML is available through the custom HTML variables, such as @headCustomCode.

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