Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • Customization Guides

Shopify/Liquid Documentation

Liquid Introduction - template language documentation

Written by Guilherme Arantes

Updated at August 24th, 2020

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Customization
    Customization Guides
  • Article Editor
  • Getting Started
    Managing Users Analytics Content Management Permissions & Accessibility Video Tutorials
  • Integrations
  • API & Webhooks
    API V2 API V3
  • Languages & Translations
  • Authentication
  • Swifty AI
  • Settings
    User Settings User Behavior Knowledge Base Settings Custom Domain
+ More

Helpjuice's template engine is based on Liquid. As Liquid is a template language, it allows you to control the logic flow and use objects while creating amazing templates for web pages.

There are three main groups of available objects on the template engine:

  1. Global variables - These variables are related to the knowledge base itself. Some of them are template related or account related. See more at Shopify/Liquid Global Objects‍;
  2. Category variables - These variables are related to the category object. See more at Shopify/Liquid Category Objects‍;
  3. Question variables - These variables are related to the question object. See more at Shopify/Liquid Question Objects‍;

Check the Shopify/Liquid Complete Objects Reference for a complete list of the available Liquid variables on the Template Engine.

‍ 

How to Control the Logic Flow?

The Liquid Syntax allows you to control the logic flow with conditional statements and loop statements. See more at Shopify/Liquid Syntax‍.


Template Files

The knowledge base is rendered using the following template files:

  • Main CSS: The Main CSS File will hold huge part of the visual rules for your Knowledge base;
  • Main JS: Custom JS scripts should be placed in the Main JS File. Google Analytics scripts or external widgets are simple examples;
  • Robots.txt: This file give instructions about their site to web robots; This is called The Robots Exclusion Protocol;
  • Main Layout: This documents defines most of the looks on your KB, this archive is loaded for every single page, the liquid tags that define which layout parts will be loaded according to where the user is;
  • Index Page: Your Splash screen, the first visited page, all the content defined on this document shows up when you access your Helpjuice KB;
  • Question Page: This page is loaded specifically when a user access a question, over the index, category, search or any other way, if is a question it uses this layout;
  • Category Page: Can be accessed over the Index Page, or by breadcrumbs slugs. This layout refers to all the category pages, subcategories included;
  • Contact Page: This can only be accessed over a direct link or a button to “contact support” or “contact us”, this form sends the info to the mail registered on the settings, although it is not the same form that appears when no search results were found;
  • Thanks Page: The page that comes up after sending the contact form.

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Overview: Customization
  • Standard Sections
  • Installing Google Analytics on Helpjuice
  • How To Remove PDF/XLS/DOC Preview From Your Account
One Knowledge Base To Replace Them All
24/5 support
Constant Product Updates & Improvements
100% money back guarantee
99.9% Uptime
Features
  • AI Knowledge Base AI-Enabled
  • Helpjuice Extension AI-Enabled
  • Powered Editor AI-Enabled
  • Advanced Analytics AI-Enabled
  • Customizable Themes AI-Enabled
  • Swifty · Helpbar & Chatbot AI-Enabled
  • Multi-Language Support
  • Step-by-Step Tutorial Creator
  • Seamless Integrations
  • User Access Control
  • See All Features >>
Product
  • Product Roadmap
  • Pricing
  • Book a Demo
  • Policies & Security
  • Our Customers
  • About Helpjuice
  • Contact Our Team
Resources
  • Our Knowledge Base
  • Webinars
  • Success Stories
  • API Documentation
  • Data Import Guide
  • Helpjuice Blog
Copyright © 2025, Helpjuice Inc.
Helpjuice, Inc. is a registered US Corporation.
EIN 46-2257741 | Download W9
Made in America High Performer Ease of Use Get Support
Get Started For Free
4.8 average review on
Life’s too short to use mediocre software.
+1 (833) 387 3877
Powered by Helpjuice Helpjuice Swifty AI External Link
Expand