-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpublishconf.py
More file actions
38 lines (29 loc) · 803 Bytes
/
publishconf.py
File metadata and controls
38 lines (29 loc) · 803 Bytes
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
38
#!/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 = 'https://www.bassi.io'
RELATIVE_URLS = False
FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
DELETE_OUTPUT_DIRECTORY = True
STATIC_PATHS = [
'images',
'videos',
'code',
'talks',
'extra/robots.txt',
]
EXTRA_PATH_METADATA = {
'extra/robots.txt': {'path': 'robots.txt'},
}
# Following items are often useful when publishing
#GITHUB_URL = 'https://github.com/ebassi/halting_problem'
GOOGLE_ANALYTICS = 'UA-51960001-1'
TWITTER_USERNAME = 'ebassi'
ENABLE_GPLUS_BUTTON = True