[Debbits-commit] [SCM] Git repository for debbits branch, master, updated. cba993e085a561daa82e0faace55b021a533d24b

Ana Beatriz Guerrero ?==?UTF-8?Q?López ana at ekaia.org
Fri Mar 22 22:15:04 UTC 2013


The following commit has been merged in the master branch:
commit cba993e085a561daa82e0faace55b021a533d24b
Author: Ana Beatriz Guerrero López <ana at ekaia.org>
Date:   Fri Mar 22 23:17:10 2013 +0100

    Add pelicanconf.py and publishconf.py

diff --git a/README b/README
index 769d1db..f60847b 100644
--- a/README
+++ b/README
@@ -4,5 +4,6 @@ http://bits.debian.org
 
 Contents
 --------
-theme-bits/ contains the blog's theme and the templates used.
-
+pelicanconf.py  configuration file for pelican
+publishconf.py  publishing configuration file for pelican
+theme-bits/     contains the blog's theme and the templates used.
diff --git a/pelicanconf.py b/pelicanconf.py
new file mode 100644
index 0000000..89ef364
--- /dev/null
+++ b/pelicanconf.py
@@ -0,0 +1,34 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*- #
+
+# Basic details
+AUTHOR = u'The Debian Project'
+SITENAME = u'Bits from Debian'
+SITEURL = 'http://bits.debian.org'
+
+# Configuration
+TIMEZONE = 'Europe/Paris'
+DEFAULT_LANG = u'en'
+DELETE_OUTPUT_DIRECTORY = True
+THEME = "theme-bits"
+DEFAULT_PAGINATION = 3
+DISPLAY_PAGES_ON_MENU = True
+
+# Feeds settings
+FEED_DOMAIN = SITEURL
+FEED_ATOM = 'feeds/atom.xml'
+FEED_RSS = 'feeds/feed.rss'
+#CATEGORY_FEED_ATOM = None
+#CATEGORY_FEED_RSS = None
+#TAG_FEED_ATOM = None
+#TAG_FEED_RSS = None
+TRANSLATION_FEED = None
+TRANSLATION_FEED_ATOM = None
+TRANSLATION_FEED_RSS = None
+
+
+MENUITEMS =  (('Home', 'http://bits.debian.org'),)
+
+SOCIAL = (('identi.ca/debian', 'http://identi.ca/debian'),
+          ('Debian Project News', 'http://www.debian.org/News/'),)
+
diff --git a/publishconf.py b/publishconf.py
new file mode 100644
index 0000000..8fc9129
--- /dev/null
+++ b/publishconf.py
@@ -0,0 +1,18 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*- #
+
+import sys
+sys.path.append('.')
+from pelicanconf import *
+
+SITEURL = 'http://bits.debian.org'
+
+DELETE_OUTPUT_DIRECTORY = True
+
+# Following items are often useful when publishing
+
+# Uncomment following line for absolute URLs in production:
+#RELATIVE_URLS = False
+
+#DISQUS_SITENAME = ""
+#GOOGLE_ANALYTICS = ""

-- 
Git repository for debbits



More information about the Debbits-commit mailing list