# Introduction

Templates control what's rendered on each type of page in a theme.

Template files are hosted in the `templates` directory of the theme. There are two different file types you can use for a theme template:

* JSON Templates
* Liquid Templates

### JSON

If you want to use sections in a template, then you should use a JSON template.

JSON templates provide more flexibility as it allows you to add, remove, and reorder sections, including app sections.&#x20;

### Liquid

Liquid templates are Liquid markup files, with the `.liquid` file extension. Each layout is different according to the specific area of your site and the functionality it requires. Erickson is predominantly built using JSON for all key pages, except unsupported JSON pages which include;

* customers/account
* customers/activate\_account
* customers/addresses
* customers/login
* customers/order
* customers/register
* customers/reset\_password
* gift\_card

{% hint style="success" %}
**Tip**

We are always working away behind the scenes to continue improving and adding the very best functionality, keeping your store ahead of the competition. These new features are released as theme updates for you to install manually.&#x20;
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://erickson.gitbook.io/themes/erickson/templates/introduction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
