index template renders the home page of the store, located at the root URL (
/). The home page often serves as a customer's first impression of a merchant's store, so the
index template should include versatile options for merchants to tell their story.
JSON vs. Liquid
In most cases, you should use a JSON template (
index.json) as your index template. JSON templates have the following advantages over Liquid templates:
- JSON templates give more flexibility for merchants to add, remove, and reorder sections, including app sections.
- JSON templates store their own data, minimizing the amount of data in settings_data.json, which improves the performance of the theme editor.