changeset 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
files content/Eclipse/validating-xml-documents.md themes/tuxlite_tbs/templates/simple_comments.html
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/content/Eclipse/validating-xml-documents.md	Mon Jul 15 11:43:18 2013 +0200
+++ b/content/Eclipse/validating-xml-documents.md	Thu Jul 18 02:19:49 2013 +0200
@@ -2,6 +2,7 @@
 Date: 2007-06-07
 Tags: XML
 Lang: en
+AllowComments: False
 
 This week I started to work on Mule 2.0 which will be based on Spring. We're dropping our own custom config format in favor of Spring's xml format. This requires me to design the schema for the transports I'm working on as well as convert the configuration of the unit tests to spring config files. I noticed that Eclipse kept complaining
 
--- 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 %}