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

Commit

Permalink
clear var in subjects generating liquid
Browse files Browse the repository at this point in the history
  • Loading branch information
evanwill committed Oct 25, 2019
1 parent 169acce commit 36fa583
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions _includes/index/locations.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{%- assign topLocations = site.data.theme.featured-locations | split: ";" -%}
{%- else -%}
{%- assign locations-fields = site.data.theme.locations-fields | split: ";" -%}
{%- assign places = "" -%}
{%- for c in locations-fields -%}
{% assign new = site.data[site.metadata] | map: c | join: ";" %}
{% assign places = places | append: ";" | append: new %}
Expand Down
1 change: 1 addition & 0 deletions _includes/index/subjects.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{%- assign topSubjects = site.data.theme.featured-subjects | split: ";" -%}
{%- else -%}
{%- assign subjects-fields = site.data.theme.subjects-fields | split: ";" -%}
{%- assign subjects = "" -%}
{%- for c in subjects-fields -%}
{% assign new = site.data[site.metadata] | map: c | join: ";" %}
{% assign subjects = subjects | append: ";" | append: new %}
Expand Down
1 change: 1 addition & 0 deletions _includes/js/cloud-js.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{%- assign cloud-fields = include.fields | split: ";" -%}
{%- assign terms = "" -%}
{%- for c in cloud-fields -%}
{% assign new = site.data[site.metadata] | map: c | join: ";" %}
{% assign terms = terms | append: ";" | append: new %}
Expand Down

0 comments on commit 36fa583

Please sign in to comment.