Skip to content

Commit 1c04d94

Browse files
committed
Use liquid include arguments for person display on 'about us' page
1 parent 80006c3 commit 1c04d94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_includes/persons.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="container-fluid">
22
<div class="row justify-content-center">
3-
{% assign persons = site.data.persons | sort: 'order' %}
3+
{% assign persons = include.persons | sort: 'order' %}
44
{% for person in persons %}
55
{% if person.active %}
66
<div class="col-lg-3 col-md-6 col-12 p-3">

_layouts/aboutuspage.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ <h1>{{ page.slogan }}</h1>
3030
<section id="team">
3131
<h2 class="section-heading">Das Team</h2>
3232
<hr class="primary">
33-
{% include persons.html %}
33+
{% include persons.html persons=site.data.persons %}
3434
</section>
3535
<section id="history" class="py-0">
3636
<h2 class="section-heading">{{ page.historieheader }}</h2>

0 commit comments

Comments
 (0)