Mercurial > hg > Blog
changeset 36:96084c11584a
comment out the captcha code. Trying the new approach to accept any blog post comment and
filter it through an email spam filter.
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Mon, 01 Sep 2014 04:16:11 +0200 |
parents | a30aee3f6158 |
children | 9c4944f26b00 e6872b8d42e2 |
files | pelicanconf.py themes/tuxlite_tbs/templates/simple_comments.html |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pelicanconf.py Mon Sep 01 04:15:01 2014 +0200 +++ b/pelicanconf.py Mon Sep 01 04:16:11 2014 +0200 @@ -11,7 +11,8 @@ TYPOGRIFY = True PLUGIN_PATHS = [ '../simple_comments' ] -PLUGINS = [ 'simple_comments', 'pelicaptcha' ] +#PLUGINS = [ 'simple_comments', 'pelicaptcha' ] +PLUGINS = [ 'simple_comments' ] # simple_comments plugin config COMMENT_PATH = 'comments'
--- a/themes/tuxlite_tbs/templates/simple_comments.html Mon Sep 01 04:15:01 2014 +0200 +++ b/themes/tuxlite_tbs/templates/simple_comments.html Mon Sep 01 04:16:11 2014 +0200 @@ -18,7 +18,10 @@ <div style="font-size: 120%;"> Leave a comment </div> +{% if False %} <form action="http://xanthippe.duckdns.org/blog-comments/simple_comments.php" method="POST"> +{% endif %} + <form action="http://xanthippe.duckdns.org/blog-comments/submit_comment.php" method="POST"> <input type="hidden" name="Slug" value="{{ article.slug }}"> <table style="padding: 10px 0px 0px 0px;"> <tr> @@ -37,6 +40,7 @@ <textarea rows="5" cols="60" name="Comment"></textarea> </td> </tr> +{% if False %} <tr> <td colspan="2"> Please type the characters you see in this image: @@ -51,6 +55,7 @@ <input type="text" name="Challenge"> </td> </tr> +{% endif %} <tr> <td> <input type="submit" value="Submit">