From 4fe14e94fd793426215008445b31181d9fd19151 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Fri, 17 Nov 2017 13:21:43 +0100 Subject: [PATCH] prevent current guide from being listed --- _src/_layouts/guide.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/_src/_layouts/guide.html b/_src/_layouts/guide.html index d4ee64c..e165333 100644 --- a/_src/_layouts/guide.html +++ b/_src/_layouts/guide.html @@ -36,13 +36,15 @@ layout: base
{% for guide in site.guides limit: 4 %} - + {% unless page.id == guide.id %} + + {% endunless %} {% endfor %}