Last active
August 29, 2015 14:15
-
-
Save linickx/1b5a826bfbd6972bba9b to your computer and use it in GitHub Desktop.
Provides Custom URLs for FEEDS #1625
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(pelican-dev)linickx:1625 nick$ pelican ./content/ | |
ERROR: Skipping pages/jinja2_template.html: could not find information about 'title' | |
CRITICAL: [Errno 21] Is a directory: '/Users/nick/Documents/Temp/1625/output/feed' | |
(pelican-dev)linickx:1625 nick$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from __future__ import unicode_literals | |
AUTHOR = 'Alexis Métaireau' | |
SITENAME = "Alexis' log" | |
SITEURL = 'http://blog.notmyidea.org' | |
TIMEZONE = "Europe/Paris" | |
# can be useful in development, but set to False when you're ready to publish | |
RELATIVE_URLS = True | |
GITHUB_URL = 'http://github.com/ametaireau/' | |
DISQUS_SITENAME = "blog-notmyidea" | |
PDF_GENERATOR = False | |
REVERSE_CATEGORY_ORDER = True | |
LOCALE = "C" | |
DEFAULT_PAGINATION = 4 | |
DEFAULT_DATE = (2012, 3, 2, 14, 1, 1) | |
FEED_RSS = "feed" | |
FEED_ALL_RSS = "feed/all" | |
AUTHOR_FEED_RSS = "feed/author/%s" | |
TAG_FEED_RSS = "feed/tag/%s" | |
FEED_ATOM = "feed/atom" | |
FEED_ALL_ATOM = "feed/atom/all" | |
AUTHOR_FEED_ATOM = "feed/atom/author/%s" | |
TAG_FEED_ATOM = "feed/atom/tag/%s" | |
LINKS = (('Biologeek', 'http://biologeek.org'), | |
('Filyb', "http://filyb.info/"), | |
('Libert-fr', "http://www.libert-fr.com"), | |
('N1k0', "http://prendreuncafe.com/blog/"), | |
('Tarek Ziadé', "http://ziade.org/blog"), | |
('Zubin Mithra', "http://zubin71.wordpress.com/"),) | |
SOCIAL = (('twitter', 'http://twitter.com/ametaireau'), | |
('lastfm', 'http://lastfm.com/user/akounet'), | |
('github', 'http://github.com/ametaireau'),) | |
# global metadata to all the contents | |
DEFAULT_METADATA = (('yeah', 'it is'),) | |
# path-specific metadata | |
EXTRA_PATH_METADATA = { | |
'extra/robots.txt': {'path': 'robots.txt'}, | |
} | |
# static paths will be copied without parsing their contents | |
STATIC_PATHS = [ | |
'pictures', | |
'extra/robots.txt', | |
] | |
# custom page generated with a jinja2 template | |
TEMPLATE_PAGES = {'pages/jinja2_template.html': 'jinja2_template.html'} | |
# code blocks with line numbers | |
PYGMENTS_RST_OPTIONS = {'linenos': 'table'} | |
# foobar will not be used, because it's not in caps. All configuration keys | |
# have to be in caps | |
foobar = "barbaz" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment