Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _includes/contributor-carousel-selection.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{%- assign carousel_counter = carousel_counter | plus: 1 %}
{%- assign contributors_lookup = site.data.CONTRIBUTORS %}
{%- assign contributors_lookup = site.data.contributors | default: site.data.CONTRIBUTORS -%}
{%- assign allcontrstr = nil %}
{%- assign nr = include.col | default: 4 %}
{%- if include.custom %}
Expand Down
2 changes: 1 addition & 1 deletion _includes/contributor-minitiles-page.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- assign contributors_lookup = site.data.CONTRIBUTORS %}
{%- assign contributors_lookup = site.data.contributors | default: site.data.CONTRIBUTORS -%}
{%- unless include.sort == false %}
{%- assign name_list = include.contributors_list | sort %}
{%- else %}
Expand Down
2 changes: 1 addition & 1 deletion _includes/contributor-tiles-all.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- assign contributors_lookup = site.data.CONTRIBUTORS %}
{%- assign contributors_lookup = site.data.contributors | default: site.data.CONTRIBUTORS -%}
{%- assign allcontrstr = nil %}
{%- assign nr = include.col | default: 4 %}
{%- if include.custom %}
Expand Down
6 changes: 5 additions & 1 deletion _includes/events.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
{%- if include.title == true%}
<h2>{{include.event_type | replace: "_", " " | capitalize}}s</h2>
{%- endif %}
{%- if include.related_pages %}
{%- assign filtered = site.data.events | where_exp: "event", "event.related_pages contains include.related_pages" %}
{%- assign events = filtered | sort: "startDate" | reverse %}
{%- else %}
{%- assign events = site.data.events | sort: "startDate" | reverse %}
{%- assign count = 0 %}
{%- endif %}
<ul class="list-unstyled mt-3">
{%- for event in events %}
<li class='{{include.event_type}}' data-start='{{ event.startDate}}'>
Expand Down