From c5904dd71c89f0d2e5f078a790b30e5baaef00fa Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 20 Nov 2014 08:50:31 +0100 Subject: Include publish configuration --- .gitignore | 7 +++++++ pelicanconf.py | 34 ++++++++++++++++++++++++++++++++++ publishconf.py | 24 ++++++++++++++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 pelicanconf.py create mode 100644 publishconf.py diff --git a/.gitignore b/.gitignore index 1377554..058e9c1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,8 @@ *.swp +*.pyc +Makefile +themes/ +fabfile.py +output/ +create-plugin.txt +develop_server.sh diff --git a/pelicanconf.py b/pelicanconf.py new file mode 100644 index 0000000..f339ef3 --- /dev/null +++ b/pelicanconf.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- # +from __future__ import unicode_literals + +THEME = "./themes/svbhack" +TYPOGRIFY = True + +AUTHOR = u'Stef Walter' +SITENAME = u'Oh, Marmalaade!' +SITEURL = '' +TAGLINE = u'Stef Walter' +DISQUS_SITENAME = 'stefthewalternet' + +TIMEZONE = 'Utc' + +DEFAULT_LANG = u'en' + +# Feed generation is usually not desired when developing +FEED_ALL_ATOM = None +CATEGORY_FEED_ATOM = None +TRANSLATION_FEED_ATOM = None + +# Blogroll +LINKS = (('Cockpit', 'http://cockpit-project.org/'), + ('Ohloh', 'https://www.ohloh.net/accounts/115261?ref=detailed'),) + +# Social widget +SOCIAL = () + +DEFAULT_PAGINATION = 10 + +STATIC_PATHS = ['images', 'files'] + +# Uncomment following line if you want document-relative URLs when developing +#RELATIVE_URLS = True diff --git a/publishconf.py b/publishconf.py new file mode 100644 index 0000000..cd3d63a --- /dev/null +++ b/publishconf.py @@ -0,0 +1,24 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- # +from __future__ import unicode_literals + +# This file is only used if you use `make publish` or +# explicitly specify it as your config file. + +import os +import sys +sys.path.append(os.curdir) +from pelicanconf import * + +SITEURL = 'http://stef.thewalter.net' +RELATIVE_URLS = False + +FEED_ALL_ATOM = 'feeds/all.atom.xml' +CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml' + +DELETE_OUTPUT_DIRECTORY = True + +# Following items are often useful when publishing + +#DISQUS_SITENAME = "" +#GOOGLE_ANALYTICS = "" -- cgit v1.2.3