From 964d22f599ab7f300663e4ef3dac0f8749b1076d Mon Sep 17 00:00:00 2001 From: Katharina Fey Date: Thu, 12 Oct 2017 15:13:13 +0200 Subject: Moving all of the website into the public repo. This is a mess --- pelicanconf.py | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100755 pelicanconf.py (limited to 'pelicanconf.py') diff --git a/pelicanconf.py b/pelicanconf.py new file mode 100755 index 0000000..54c96e2 --- /dev/null +++ b/pelicanconf.py @@ -0,0 +1,85 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- # +from __future__ import unicode_literals + +AUTHOR = 'Kate' +SITENAME = 'Fun Memory Violations' +SITEURL = '' +# DISQUS_SITENAME = 'katesnullpointers' + +THEME = 'nest' +# NEST_HEADER_IMAGES = 'banner_bg2x.png' + +EXTRA_PATH_METADATA = { + # 'robots.txt': {'path': 'robots.txt'}, + 'favicon.ico': {'path': 'favicon.ico'} +} + +PLUGIN_PATHS = ['plugins/',] +PLUGINS = ['summary', ] + +TEMPLATE_DEBUG = True +DEBUG = True + +PATH = 'content' +STATIC_PATHS = ['images', 'downloads', 'kookie.txt'] +SITE_LOGO = 'favicon.ico' +SUMMARY_MAX_LENGTH = 140 + +############################################# +############################################# + +# THEME = 'lazystrap' # Why doesn't this work? :( + +DEFAULT_CATEGORY = 'Dev Diary' +DEFAULT_DATE = 'fs' + +DISPLAY_CATEGORIES_ON_MENU = False +DISPLAY_PAGES_ON_MENU = False + +MENUITEMS = ( + ('Home', '/'), + ('Blog', '/blog/'), + # ('Guides', '/guides/'), + # ('Showcase', '/showcase/'), + ('About Me', '/about/'), +) + +ARTICLE_URL = '{category}/{slug}' +ARTICLE_SAVE_AS = '{category}/{slug}/index.html' + +PAGE_URL = '{slug}' +PAGE_SAVE_AS = '{slug}/index.html' + +CATEGORY_URL = '{slug}' +CATEGORY_SAVE_AS = '{slug}/index.html' + +TAG_URL = '{slug}' +TAG_SAVE_AS = '{slug}/index.html' + +############################################# +############################################# + +TIMEZONE = 'Europe/Berlin' +DEFAULT_LANG = 'en' +LOCALE = 'C' +DEFAULT_DATE_FORMAT = '%Y-%m-%d' + +# Feed generation is usually not desired when developing +FEED_ALL_ATOM = None +CATEGORY_FEED_ATOM = None +TRANSLATION_FEED_ATOM = None +AUTHOR_FEED_ATOM = None + +FEED_RSS = 'rss.xml' +CATEGORY_FEED_RSS = '%s/rss.xml' + + +JINJA_EXTENSIONS = ['webassets.ext.jinja2.AssetsExtension', 'jinja2.ext.with_'] +# Blogroll +# LINKS = (('Lonely Robot', 'http://www.lonelyrobot.io'), ) + +# Social widget +SOCIAL = (('Twitter', 'https://www.twitter.com/spacekookie'),('Github','https://www.github.com/spacekookie'),) + +DEFAULT_PAGINATION = 20 -- cgit v1.2.3