Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3fe7add

Browse files
jbamptonnicolaskruchten
authored andcommitted
@jbampton Remove whitespace output from for loops. (#1523)
1 parent d393207 commit 3fe7add

File tree

4 files changed

+80
-80
lines changed

4 files changed

+80
-80
lines changed

_includes/layouts/side-bar.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
{% assign pages_list = site.posts | where:"language", language %}
2626

27-
{% for page in pages_list %}
27+
{%- for page in pages_list -%}
2828
{% if page.display_as == "chart_type" or page.display_as == "basic" %}
2929
{% assign basic = true %}
3030
{% elsif page.display_as == "file_settings" %}
@@ -83,7 +83,7 @@
8383
{% assign theme = true %}
8484
<!-- END OF GGPLOT CUSTOM LAYOUT -->
8585
{% endif %}
86-
{% endfor %}
86+
{%- endfor -%}
8787

8888

8989
<aside class="--sidebar-container">

_includes/posts/auto_examples.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% assign counter = 0 %}
2-
{% for example in examples %}
2+
{%- for example in examples -%}
33
{% assign counter=counter | plus:1 %}
44
<div class="section">
55
<div class="row auto-eg-padding">
@@ -50,5 +50,5 @@ <h4 id="{{ example.name | replace:' ','-' | remove:',' | downcase | strip_html }
5050
{% endif %}
5151
</div>
5252
</div>
53-
{% endfor %}
53+
{%- endfor -%}
5454

0 commit comments

Comments
 (0)