forked from github/pelican
Since feed generation is usually unnecessary during development (and can produce potentially-confusing warnings when SITEURL is not set), running "make html" will now skip feed generation by default. Feed generation settings have been added to publishconf.py so feeds will be generated when the site is published. Also corrected some URLs in pelicanconf.py.
30 lines
768 B
Python
30 lines
768 B
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*- #
|
|
|
|
AUTHOR = $author
|
|
SITENAME = $sitename
|
|
SITEURL = ''
|
|
|
|
TIMEZONE = 'Europe/Paris'
|
|
|
|
DEFAULT_LANG = $lang
|
|
|
|
# Feed generation is usually not desired when developing
|
|
FEED_ALL_ATOM = None
|
|
CATEGORY_FEED_ATOM = None
|
|
TRANSLATION_FEED_ATOM = None
|
|
|
|
# Blogroll
|
|
LINKS = (('Pelican', 'http://getpelican.com/'),
|
|
('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', '#'),)
|
|
|
|
DEFAULT_PAGINATION = $default_pagination
|
|
|
|
# Uncomment following line if you want document-relative URLs when developing
|
|
#RELATIVE_URLS = True
|