Skip to content

Commit 17b4758

Browse files
Fix some shopify theme check variable name formats
1 parent 9edd123 commit 17b4758

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

sections/main-article.liquid

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
class="page-width page-width--narrow{% if settings.animations_reveal_on_scroll %} scroll-trigger animate--slide-in{% endif %}"
100100
>
101101
{%- if article.comments_count > 0 -%}
102-
{%- assign anchorId = '#Comments-' | append: article.id -%}
102+
{%- assign anchor_id = '#Comments-' | append: article.id -%}
103103

104104
<h2 id="Comments-{{ article.id }}" tabindex="-1">
105105
{{ 'blogs.article.comments' | t: count: article.comments_count }}
@@ -126,7 +126,7 @@
126126
</footer>
127127
</article>
128128
{%- endfor -%}
129-
{% render 'pagination', paginate: paginate, anchor: anchorId %}
129+
{% render 'pagination', paginate: paginate, anchor: anchor_id %}
130130
</div>
131131
{% endpaginate %}
132132
{%- endif -%}

sections/main-list-collections.liquid

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
assign collections = collections | reverse
1818
endif
1919

20-
assign moduloResult = 28 | modulo: section.settings.columns_desktop
20+
assign modulo_result = 28 | modulo: section.settings.columns_desktop
2121
assign paginate_by = 30
22-
if moduloResult == 0
22+
if modulo_result == 0
2323
assign paginate_by = 28
2424
endif
2525
-%}

sections/main-password-footer.liquid

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{% assign scheme1 = settings.color_schemes | first %}
2-
{%- if section.settings.color_scheme == scheme1 -%}<hr>{%- endif -%}
1+
{% assign scheme_1 = settings.color_schemes | first %}
2+
{%- if section.settings.color_scheme == scheme_1 -%}<hr>{%- endif -%}
33
<div class="password__footer color-{{ section.settings.color_scheme }} gradient">
44
<ul class="list-social list-unstyled" role="list">
55
{%- if settings.social_twitter_link != blank -%}

sections/main-password-header.liquid

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@
9999
</password-modal>
100100
</div>
101101
</div>
102-
{% assign scheme1 = settings.color_schemes | first %}
103-
{%- if section.settings.color_scheme == scheme1 -%}<hr>{%- endif -%}
102+
{% assign scheme_1 = settings.color_schemes | first %}
103+
{%- if section.settings.color_scheme == scheme_1 -%}<hr>{%- endif -%}
104104
105105
{% schema %}
106106
{

0 commit comments

Comments
 (0)