Skip to content

Commit d72f07b

Browse files
committed
Fixed issue when there was only one visitor
1 parent d3161f7 commit d72f07b

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

_layouts/team_members.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,7 @@ <h1 style="font-size:35px;">Staff</h1>
177177
<h1 style="font-size:35px;">Visitors & Interns</h1>
178178
<br>
179179
<div class="columns is-multiline">
180-
{% assign sorted_visitor = site.team | where:"category","visitor" %}
181-
{% assign sorted_intern = site.team | where:"category","intern" %}
182-
{% assign sorted_products = sorted_visitor | concat: sorted_intern %}
183-
{% assign n = sorted_products | size %}
184-
{% assign sorted_products = sorted_products | sample: n %}
180+
{% assign sorted_products = site.team | where:"category","intern" %}
185181
{% for product in sorted_products %}
186182
<div class="column is-one-fifth-desktop is-6-tablet">
187183
<a href="{{ product.url | prepend: site.baseurl }}">

0 commit comments

Comments
 (0)