From a5b0816a95d653526abe0571737b7cf4b442dc6f Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 28 May 2016 22:53:30 +0100 Subject: [PATCH] Add RSS feed and extra settings --- pelicanconf.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pelicanconf.py b/pelicanconf.py index 1eb61ee..4ddb393 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -35,6 +35,7 @@ SOCIAL = social.generate() DEFAULT_PAGINATION = False DELETE_OUTPUT_DIRECTORY = True +SLUGIFY_SOURCE = 'basename' PAGE_PATHS = ["pages"] PAGE_SAVE_AS = "{slug}/index.html" @@ -72,6 +73,9 @@ CATEGORY_URL = "{slug}/" CATEGORIES_SAVE_AS = False USE_FOLDER_AS_CATEGORY = True +FEED_ATOM = 'feed.atom' +FEED_DOMAIN = SITEURL + PLUGIN_PATHS = ["pelican_plugins"] PLUGINS = ["sitemap", "filetime_from_git", "pelican-jinja2content"] @@ -80,7 +84,7 @@ SITEMAP = { } from fontawesome_markdown import FontAwesomeExtension -MD_EXTENSIONS = [FontAwesomeExtension()] +MD_EXTENSIONS = [FontAwesomeExtension(), 'codehilite(css_class=highlight)', 'extra'] import filters JINJA_FILTERS = {