_layouts/portfolio-landing.html in hardpool-flat-2.1.0 vs _layouts/portfolio-landing.html in hardpool-flat-2.2.0

- old
+ new

@@ -45,10 +45,13 @@ </div> </div> </div> <!-- banner end --> <!-- shop outfit start --> +{% if site.landing.shop %} + {{ site.landing.shop }} +{% else %} <p class="section-heading"><span>My outfits</span></p> {% assign thumbs = site.posts | slice: 0, 5 %} <div class="container mb-5"> <div class="row sm-gutters"> {%- for post in thumbs -%} @@ -61,9 +64,10 @@ <div class="thumb-post gtm-landing-shop" data-title="{{ post.title }}" data-toggle="modal" data-target="#mdShop{{ forloop.index }}" style="background-image:url('{{ t_url }}')"></div> </div> {%- endfor -%} </div> </div> +{% endif %} <!-- shop outfit start end --> <!-- section 3 start --> {%- assign featured = site.posts | where: "categories", "featured" -%} <div class="container mb-5"> {%- for post in featured -%} \ No newline at end of file