Mercurial > hg > Blog
comparison 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 |
comparison
equal
deleted
inserted
replaced
11:bb1f035109da | 12:7bfdc2b1d768 |
---|---|
9 LOCALE = 'de_DE' | 9 LOCALE = 'de_DE' |
10 TIMEZONE = 'Europe/Berlin' | 10 TIMEZONE = 'Europe/Berlin' |
11 TYPOGRIFY = True | 11 TYPOGRIFY = True |
12 | 12 |
13 PLUGIN_PATH = '../simple_comments' | 13 PLUGIN_PATH = '../simple_comments' |
14 PLUGINS = [ 'simple_comments' ] | 14 PLUGINS = [ 'simple_comments', 'pelicaptcha' ] |
15 | |
16 # simple_comments plugin config | |
17 COMMENT_PATH = 'comments' | |
18 | |
19 # pelicaptcha plugin config | |
20 PELICAPTCHA_FONT = '/usr/share/tuxpaint/fonts/FreeMono.ttf' | |
15 | 21 |
16 # this theme looks ok but has some downsides: | 22 # this theme looks ok but has some downsides: |
17 # - tag list at the bottom only | 23 # - tag list at the bottom only |
18 # - html validation errors | 24 # - html validation errors |
19 #THEME = '../pelican-themes/built-texts' | 25 #THEME = '../pelican-themes/built-texts' |
27 # Feed generation is usually not desired when developing | 33 # Feed generation is usually not desired when developing |
28 FEED_ALL_ATOM = None | 34 FEED_ALL_ATOM = None |
29 CATEGORY_FEED_ATOM = None | 35 CATEGORY_FEED_ATOM = None |
30 TRANSLATION_FEED_ATOM = None | 36 TRANSLATION_FEED_ATOM = None |
31 | 37 |
32 COMMENT_PATH = 'comments' | |
33 | |
34 # Blogroll | 38 # Blogroll |
35 LINKS = () #('Pelican', 'http://getpelican.com/'), | 39 LINKS = () #('Pelican', 'http://getpelican.com/'), |
36 # ('Python.org', 'http://python.org/'), | 40 # ('Python.org', 'http://python.org/'), |
37 # ('Jinja2', 'http://jinja.pocoo.org/'), | 41 # ('Jinja2', 'http://jinja.pocoo.org/'), |
38 # ('You can modify those links in your config file', '#'),) | 42 # ('You can modify those links in your config file', '#'),) |