Change layout file for homepage

Solved
DRight
Excursionist
17 1 0

I have created a new design and tested it using a template. 

Now I want to have this new design to load on the homepage but I'm not sure how to do that since this design uses a new layout.

{% layout 'v2' %}
{% section 'homepage-v2' %}
{% section 'reviews-v2' %}

 

As you can see, I'm using a layout file called v2 in my template file but I couldn't find an option to replace the default theme.liquid layout in settings_data.json

"current": {
      "tbc-homepage-v2": {
        "type": "homepage-v2",
        "settings": {}
      },
      "reviews-v2": {
        "type": "reviews-v2",
        "settings": {}
      },
    "content_for_index": [
      "tbc-homepage-v2",
      "reviews-v2"
    ]
  }

 

How to change the layout to v2.liquid on the homepage?

0 Likes
DRight
Excursionist
17 1 0

This is an accepted solution.

Fixed by adding {% layout 'v2' %} to index.liquid

0 Likes