Mercurial > hg > Blog
diff pelicanconf.py @ 12:7bfdc2b1d768
generate a captcha per blog post
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 06 Aug 2013 04:06:16 +0200 |
parents | bd8e75de187a |
children | 04a8afe79c59 |
line wrap: on
line diff
--- a/pelicanconf.py Thu Jul 18 02:19:49 2013 +0200 +++ b/pelicanconf.py Tue Aug 06 04:06:16 2013 +0200 @@ -11,7 +11,13 @@ TYPOGRIFY = True PLUGIN_PATH = '../simple_comments' -PLUGINS = [ 'simple_comments' ] +PLUGINS = [ 'simple_comments', 'pelicaptcha' ] + +# simple_comments plugin config +COMMENT_PATH = 'comments' + +# pelicaptcha plugin config +PELICAPTCHA_FONT = '/usr/share/tuxpaint/fonts/FreeMono.ttf' # this theme looks ok but has some downsides: # - tag list at the bottom only @@ -29,8 +35,6 @@ CATEGORY_FEED_ATOM = None TRANSLATION_FEED_ATOM = None -COMMENT_PATH = 'comments' - # Blogroll LINKS = () #('Pelican', 'http://getpelican.com/'), # ('Python.org', 'http://python.org/'),