From debd2acff60870600ffd54572ed382cdcd8899fd Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 14 Jan 2017 15:56:58 +0000 Subject: [PATCH] Update settings --- pelicanconf.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pelicanconf.py b/pelicanconf.py index aa62203..5047cbd 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -1,6 +1,5 @@ # -*- coding: utf-8 -*- # from __future__ import unicode_literals -from git import Repo import sys, os sys.path.insert(0, os.path.realpath('./')) @@ -16,6 +15,10 @@ THEME = "theme" THEME_STATIC_DIR = "static" THEME_STATIC_PATHS = ["static/build"] STATIC_PATHS = ["assets"] +DEFAULT_DATE = 'fs' +WITH_FUTURE_DATES = True +LOAD_CONTENT_CACHE = False +CACHE_CONTENT = False USE_FOLDER_AS_CATEGORY = True DEFAULT_PAGINATION = False @@ -28,7 +31,6 @@ FOOTER_LINKS = links.footer() INDEX_PROJECTS = links.index_projects() # Extra config -REPO = Repo(search_parent_directories=True) BUILD_PRODUCTION = 'BUILD_PRODUCTION' in os.environ from plugins import image_resizer META_IMAGES = image_resizer.generate() @@ -65,7 +67,6 @@ FEED_DOMAIN = SITEURL PLUGIN_PATHS = ["plugins", "pelican_plugins"] PLUGINS = [ 'sitemap', - 'filetime_from_git', 'pelican-jinja2content', 'metatags', 'autopages', @@ -98,7 +99,8 @@ MARKDOWN = { CommentsExtension(), 'codehilite(css_class=highlight)', 'extra' - ] + ], + "output_format": "html5" } # Setup jinja2 filters from plugins import filters