diff themes/tuxlite_tbs/templates/simple_comments.html @ 11:bb1f035109da

turn off comments for the eclipse validation article which attracts comment spam
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 18 Jul 2013 02:19:49 +0200
parents bd8e75de187a
children 7bfdc2b1d768
line wrap: on
line diff
--- a/themes/tuxlite_tbs/templates/simple_comments.html	Mon Jul 15 11:43:18 2013 +0200
+++ b/themes/tuxlite_tbs/templates/simple_comments.html	Thu Jul 18 02:19:49 2013 +0200
@@ -13,6 +13,7 @@
     </div>
     {% endfor %}
 {% endif %}
+{% if article.metadata.allowcomments %}
 <div style="padding: 20px 0px 0px 0px;">
     <div style="font-size: 120%;">
         Leave a comment
@@ -29,4 +30,5 @@
             <input type="submit" value="Submit">
         </div>
     </form>
-</div>
\ No newline at end of file
+</div>
+{% endif %}