Skip to content

Commit

Permalink
Trim unnecessary whitespace around these variables
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwlchan committed Oct 28, 2024
1 parent ec97f30 commit 8c67fca
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/_includes/article_card.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
<li
class="card"
style="
{% if article.colors.index_light %}
{%- if article.colors.index_light -%}
--c-lt: {{ article.colors.index_light }};
{% elsif article.colors.css_light %}
{%- elsif article.colors.css_light -%}
--c-lt: {{ article.colors.css_light }};
{% endif %}
{%- endif -%}
{% if article.colors.index_dark %}
{%- if article.colors.index_dark -%}
--c-dk: {{ article.colors.index_dark }};
{% elsif article.colors.css_dark %}
{%- elsif article.colors.css_dark -%}
--c-dk: {{ article.colors.css_dark }};
{% endif %}
{%- endif -%}
"
{% if add_data_metadata %}
data-date="{{ article.date | date: '%Y%m%d' }}"
Expand Down

0 comments on commit 8c67fca

Please sign in to comment.