summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stefw@redhat.com>2014-11-20 08:50:31 +0100
committerStef Walter <stefw@redhat.com>2014-11-20 08:50:31 +0100
commitc5904dd71c89f0d2e5f078a790b30e5baaef00fa (patch)
treed9e686c533cb0d52306dbfa1abf0538944bad90d
parent778ca7d74c91b8b1d119c83dd85e612876de8a4b (diff)
Include publish configuration
-rw-r--r--.gitignore7
-rw-r--r--pelicanconf.py34
-rw-r--r--publishconf.py24
3 files changed, 65 insertions, 0 deletions
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 = ""