diff options
author | Dirk Makowski <dmakowski@gmx.net> | 2013-01-11 02:57:43 +0100 |
---|---|---|
committer | Alexis Métaireau <alexis@notmyidea.org> | 2013-01-11 03:20:09 +0100 |
commit | 71995d5e1bec6f34ef836e1dc7416e27dd3cfe30 (patch) | |
tree | 34358c86484f9cdaf8c5b39ca84443f8eb80db49 /samples | |
parent | 9847394e127114ed18c3ac016d1e1284b6fe0599 (diff) | |
download | pelican-71995d5e1bec6f34ef836e1dc7416e27dd3cfe30.tar.gz |
Port pelican to python 3.
Stays compatible with 2.x series, thanks to an unified codebase.
Diffstat (limited to 'samples')
-rwxr-xr-x | samples/pelican.conf.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/samples/pelican.conf.py b/samples/pelican.conf.py index 0ac4cd2c..714a418c 100755 --- a/samples/pelican.conf.py +++ b/samples/pelican.conf.py @@ -1,6 +1,8 @@ # -*- coding: utf-8 -*- -AUTHOR = u'Alexis Métaireau' -SITENAME = u"Alexis' log" +from __future__ import unicode_literals + +AUTHOR = 'Alexis Métaireau' +SITENAME = "Alexis' log" SITEURL = 'http://blog.notmyidea.org' TIMEZONE = "Europe/Paris" @@ -10,7 +12,7 @@ PDF_GENERATOR = False REVERSE_CATEGORY_ORDER = True LOCALE = "C" DEFAULT_PAGINATION = 4 -DEFAULT_DATE = (2012, 03, 02, 14, 01, 01) +DEFAULT_DATE = (2012, 3, 2, 14, 1, 1) FEED_ALL_RSS = 'feeds/all.rss.xml' CATEGORY_FEED_RSS = 'feeds/%s.rss.xml' @@ -19,7 +21,7 @@ LINKS = (('Biologeek', 'http://biologeek.org'), ('Filyb', "http://filyb.info/"), ('Libert-fr', "http://www.libert-fr.com"), ('N1k0', "http://prendreuncafe.com/blog/"), - (u'Tarek Ziadé', "http://ziade.org/blog"), + ('Tarek Ziadé', "http://ziade.org/blog"), ('Zubin Mithra', "http://zubin71.wordpress.com/"),) SOCIAL = (('twitter', 'http://twitter.com/ametaireau'), |