diff -r 71e96f955e7a -r 2a30ebfd851f pelicanconf.py --- a/pelicanconf.py Tue Mar 15 16:23:22 2016 +0100 +++ b/pelicanconf.py Tue Mar 15 16:23:38 2016 +0100 @@ -1,13 +1,37 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- # from __future__ import unicode_literals +import socket +_isprod = socket.gethostname() == 'sd-56079' AUTHOR = u'David Douard' SITENAME = u'Whatever' SITESUBTITLE = u"A blog, sort of" TWITTER_USERNAME = u'douardda' CONTACTS = (('twitter', 'https://twitter.com/twttrAcc'),) -SITEURL = 'https://whatever.sdfa3.org' + +if _isprod: + SITEURL = 'https://whatever.sdfa3.org' + PIWIK = ''' + + + +''' +else: + SITEURL = '' + PIWIK = '' PATH = 'content'