Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit 36fa583

Browse files
committed
clear var in subjects generating liquid
1 parent 169acce commit 36fa583

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

_includes/index/locations.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
{%- assign topLocations = site.data.theme.featured-locations | split: ";" -%}
33
{%- else -%}
44
{%- assign locations-fields = site.data.theme.locations-fields | split: ";" -%}
5+
{%- assign places = "" -%}
56
{%- for c in locations-fields -%}
67
{% assign new = site.data[site.metadata] | map: c | join: ";" %}
78
{% assign places = places | append: ";" | append: new %}

_includes/index/subjects.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
{%- assign topSubjects = site.data.theme.featured-subjects | split: ";" -%}
33
{%- else -%}
44
{%- assign subjects-fields = site.data.theme.subjects-fields | split: ";" -%}
5+
{%- assign subjects = "" -%}
56
{%- for c in subjects-fields -%}
67
{% assign new = site.data[site.metadata] | map: c | join: ";" %}
78
{% assign subjects = subjects | append: ";" | append: new %}

_includes/js/cloud-js.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{%- assign cloud-fields = include.fields | split: ";" -%}
2+
{%- assign terms = "" -%}
23
{%- for c in cloud-fields -%}
34
{% assign new = site.data[site.metadata] | map: c | join: ";" %}
45
{% assign terms = terms | append: ";" | append: new %}

0 commit comments

Comments
 (0)