Guides Intermediate

Liquid Templates Guide

Learn about Liquid templating with custom tags and filters for Airogel CMS

Overview

Airogel CMS uses Liquid as its templating language with custom extensions for CMS-specific functionality.

Custom Tags

  • {% paginate %} - Collection pagination
  • {% form_for %} - Form rendering
  • {% cms_scripts %} - Asset injection
  • {% locale %} - Locale output

Custom Filters

  • asset_url - Asset URL generation
  • image_tag - Image HTML generation
  • video_player - Video embed
  • script_tag - Script tag generation
  • stylesheet_tag - Stylesheet tag generation

Template Variables

Access entry data under the collection handle, site globals, navigation menus, and request context.