FROM CACHE - en_header

Removing a section in an if block while migrating to 2.0

New Member
1 0 0

Hello. I am trying to migrate my theme to 2.0. However, while deleting section tags, there is one section that is inside of an if block:

{%- if blog.template_suffix != 'portfolio' -%}
    {%- section 'article-heading' -%}
    <div class="container mt__60 mb__60">



{%- endif -%}

This piece of code is inside article.liquid and i need to know how i should replace this with a json file. Thanks!



Replies 0 (0)