-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpublishconf.py
38 lines (27 loc) · 989 Bytes
/
publishconf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/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://blog.jdotjdot.com'
# SITEURL = 'https://jdotjdot.github.io'
RELATIVE_URLS = False
OUTPUTDIR = 'jdotjdot.github.io'
if os.getenv('HEROKU') == 'True':
PATH = '/app/content' #'/app/content'
PLUGIN_PATH = '../pelican-plugins'
THEME = '../Gum-JJ'
ASSET_CONFIG = (('directory', '/app/{}/theme'.format(OUTPUTDIR)),
#('SASS_BIN', '/app/.heroku/python/lib/python2.7/site-packages/sass.so')
)
# DELETE_OUTPUT_DIRECTORY = True
FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = 'feeds/category/%s.atom.xml'
TAG_FEED_ATOM = 'feeds/tag/%s.atom.xml'
# Following items are often useful when publishing
#DISQUS_SITENAME = ""
#GOOGLE_ANALYTICS = ""