mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-22 09:46:57 +01:00
prevent current guide from being listed
This commit is contained in:
parent
0d00a39ec3
commit
4fe14e94fd
@ -36,6 +36,7 @@ layout: base
|
||||
<div class="row">
|
||||
<div class="grid grid--full grid-small--half grid--gutters">
|
||||
{% for guide in site.guides limit: 4 %}
|
||||
{% unless page.id == guide.id %}
|
||||
<div class="grid__col">
|
||||
<article class="guide">
|
||||
<a href="{{ guide.url }}">
|
||||
@ -43,6 +44,7 @@ layout: base
|
||||
</a>
|
||||
</article>
|
||||
</div>
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user