diff options
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/hallitus.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/_layouts/hallitus.html b/_layouts/hallitus.html index 8a5ed85..937b718 100644 --- a/_layouts/hallitus.html +++ b/_layouts/hallitus.html @@ -7,9 +7,10 @@ layout: page <div class="contact"> <div> - {% if site.data.hallitus.people[0] %} + {% assign people = site.data[page.data].people %} + {% if people[0] %} {% assign i = 0 %} - {% for person in site.data.hallitus.people %} + {% for person in people %} {% assign columnI = i | modulo: 2 %} {% if columnI == 0 %} <div class="section group"> |
