Commit cba993e0 authored by Ana Guerrero López's avatar Ana Guerrero López

Add pelicanconf.py and publishconf.py

parent e689282c
......@@ -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.
#!/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/'),)
#!/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 = ""
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment