aboutsummaryrefslogtreecommitdiff
path: root/pelicanconf.py
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2017-10-12 15:13:13 +0200
committerKatharina Fey <kookie@spacekookie.de>2017-10-12 15:13:13 +0200
commit964d22f599ab7f300663e4ef3dac0f8749b1076d (patch)
tree5ab4ded280c12e230fdb34bef1839ec683e854c0 /pelicanconf.py
parentb004cfd65b993a92a24767a9b022fb4e04554e7d (diff)
Moving all of the website into the public repo. This is a mess
Diffstat (limited to 'pelicanconf.py')
-rwxr-xr-xpelicanconf.py85
1 files changed, 85 insertions, 0 deletions
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