From 5757f4541b5456784bf4cffc937bfe28b8bb2732 Mon Sep 17 00:00:00 2001 From: jabenninghoff Date: Sat, 21 Nov 2015 22:07:40 -0600 Subject: [PATCH] Add conditional logic to comment link Only show comment link if comments=true for the post --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 0997aa7..da6e028 100644 --- a/index.html +++ b/index.html @@ -16,8 +16,9 @@

{{ post.content }} + {% if post.comments %} comment - + {% endif %} {% endfor %}