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