US English (US)
FR French
DE German
SA Arabic
BS Bosnian

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.

  • Book a Demo
  • Product Updates
  • Contact Us
English (US)
US English (US)
FR French
DE German
SA Arabic
BS Bosnian
  • Home
  • Customization Guides

Shopify/Liquid Documentation

Liquid Introduction - template language documentation

Written by Guilherme de Andrade Arantes

Updated at October 15th, 2021

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.

  • Getting Started
    Users Accessibility New to Helpjuice? Start Here Content Management Multiple Languages/Translations & Localization Multilingual Knowledge Bases Analytics Video Tutorials
  • Customization
    Customization Guides
  • API V2
  • API V3
  • Article Editor
  • Swifty (In-App Widget)
  • Billing / Subscription
  • Authentication
+ 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
  • How To Remove PDF/XLS/DOC Preview From Your Account
  • Installing Google Analytics on Helpjuice
  • Standard Sections

Copyright © 2023 - Helpjuice

Helpjuice, Inc. is a registered US Corporation, EIN # 45-2275731

Download W9
  • Help
  • Features
  • Pricing
  • About
  • Careers
  • Customers
  • Blog
  • Case Studies
  • Resources
  • Knowledge Base Examples
  • Privacy Policy
  • Terms of Service

Why is the knowledge base important?

With a knowledge base, you can allow your customers to self-help themselves, thus reducing your customer support by up to 60%. Furthermore, you can also have your team get instant answers to the questions they need without having to email themselves all using knowledge base software.

What is the purpose of a knowledge base?

The purpose of knowledge base software is to allow you to host your knowledge base/corporate wiki in one centralized 'hub'. Both your customers, and employees can now access information within seconds!

Made with from Miami, Bosnia, Morocco & Brasil

+1 (833) 387 3877 success@helpjuice.com
Expand