Mercurial > hg > Blog
annotate publishconf.py @ 63:9693693301f2
add blog post on NFS server
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Thu, 30 Jul 2015 07:32:04 +0200 |
parents | 320e1b36eb7e |
children | e99db3bc53c1 |
rev | line source |
---|---|
0
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
1 #!/usr/bin/env python |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
2 # -*- coding: utf-8 -*- # |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
3 from __future__ import unicode_literals |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
4 |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
5 # This file is only used if you use `make publish` or |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
6 # explicitly specify it as your config file. |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
7 |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
8 import os |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
9 import sys |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
10 sys.path.append(os.curdir) |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
11 from pelicanconf import * |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
12 |
29 | 13 SITEURL = 'http://xanthippe.duckdns.org/blog' |
4
f4a440c578d4
proper overrides for publication
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
0
diff
changeset
|
14 RELATIVE_URLS = False |
0
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
15 |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
16 FEED_ALL_ATOM = 'feeds/all.atom.xml' |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
17 CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml' |
43
320e1b36eb7e
limit the number of items in the atom feed
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
29
diff
changeset
|
18 FEED_MAX_ITEMS = 10 |