1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 09:46:57 +01:00

limit to 3 guides in front page section

This commit is contained in:
Matthias Kretschmann 2017-11-29 14:52:57 +01:00
parent 483a41def2
commit c76aae2041
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -8,7 +8,7 @@
<div class="row">
{% assign guides = site.guides | sort: 'order' %}
{% for guide in guides limit: 4 %}
{% for guide in guides limit: 3 %}
<article class="guide">
<a href="{{ guide.url }}" {% if guide.header %}style="background-image:url('/guides/{{ guide.header }}')" {% endif %}>
<h1 class="guide__title">{{ guide.title }}</h1>