GitHub

Introduction - global variables

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

  • @website - stores useful information about your site,
  • @pagination - can be used to create pagination on tags, authors, and homepage,
  • @config - gives you access to theme and post configuration,
  • @renderer - contains additional data for the rendering process,
  • @amp - can be used only during rendering of the AMP version of your website and stores AMP configuration.

Subscribe

Get the latest Publii news, updates and more delivered directly to your email inbox

You can change your mind at any time by clicking the unsubscribe link in the footer of any email you receive from us, or by contacting us at contact@tidycustoms.net. By clicking below, you agree that we may process your information in accordance with our Privacy Policy.