#!/usr/bin/env python # -*- coding: utf-8 -*- # AUTHOR = u'Chimrod' SITENAME = u'Chimrod' SITEURL = 'http://localhost:8000' TIMEZONE = 'Europe/Paris' DEFAULT_LANG = u'fr' # Blogroll #LINKS = (('Pelican', 'http://docs.notmyidea.org/alexis/pelican/'), # ('Python.org', 'http://python.org'), # ('Jinja2', 'http://jinja.pocoo.org'), # ('You can modify those links in your config file', '#'),) # Social widget #SOCIAL = (('You can add links in your config file', '#'), # ('Another social link', '#'),) FEED_DOMAIN = SITEURL FEED_RSS = 'feed' FEED_ATOM = 'feeds/atom.xml' FEED_MAX_ITEMS=5 TAG_FEED_RSS = 'feeds/%s.xml' TAG_FEED_ATOM = 'feeds/%s.atom' DEFAULT_PAGINATION = FEED_MAX_ITEMS ARTICLE_URL = u'{date:%Y}/{date:%m}/{slug}/' ARTICLE_SAVE_AS = u'{date:%Y}/{date:%m}/{slug}/index.html' STATIC_PATHS = ['images', 'resources'] THEME = 'theme' TYPOGRIFY = True TEMPLATE_PAGES = {'../extras/404.html': '404.html'} FILES_TO_COPY = ( ('../extras/htaccess', '.htaccess'), ('../extras/robots.txt', 'robots.txt'), ) PLUGIN_PATH = 'plugins' #from pelican.plugins import related_posts PLUGINS = ['related_posts'] SUMMARY_MAX_LENGTH=100