Checkpoint commit
[pwan.org.git] / publishconf.py
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*- #
3 from __future__ import unicode_literals
4
5 # This file is only used if you use `make publish` or
6 # explicitly specify it as your config file.
7
8 import os
9 import sys
10 sys.path.append(os.curdir)
11 from pelicanconf import *
12
13 SITEURL = 'https://pwan.org/blog'
14 RELATIVE_URLS = False
15
16 FEED = None
17 TAG_FEED = None
18 FEED_ALL_ATOM = None
19 CATEGORY_FEED_ATOM = None
20 TRANSLATION_FEED_ATOM = None
21 FEED_RSS = 'feeds/rss.xml'
22 FEED_ALL_RSS = 'feeds/all.rss.xml'
23 CATEGORY_FEED_RSS = 'feeds/cat.{slug}.rss.xml'
24 TAG_FEED_RSS = 'feeds/tag.{slug}.rss.xml'
25 FEED_MAX_ITEMS = 20
26
27 DISPLAY_PAGES_ON_MENU = True
28
29 DELETE_OUTPUT_DIRECTORY = True
30
31 PLUGIN_PATHS = ['../pelican-plugins']
32 PLUGINS = ['plantuml']
33
34
35 # Following items are often useful when publishing
36
37 #DISQUS_SITENAME = ""
38 #GOOGLE_ANALYTICS = ""