publishconf.py

Wed, 12 Jul 2023 21:43:22 +0200

author
David Douard <david.douard@sdf3.org>
date
Wed, 12 Jul 2023 21:43:22 +0200
changeset 151
c851522149f5
parent 146
11e6db4102f1
permissions
-rw-r--r--

numworks: minor fixes

0
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
1 #!/usr/bin/env python
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
2 # -*- coding: utf-8 -*- #
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
3 from __future__ import unicode_literals
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
4
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
5 # This file is only used if you use `make publish` or
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
6 # explicitly specify it as your config file.
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
7
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
8 import os
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
9 import sys
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
10 sys.path.append(os.curdir)
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
11 from pelicanconf import *
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
12
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
13 SITEURL = 'https://whatever.sdfa3.org'
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
14 RELATIVE_URLS = False
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
15
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
16 FEED_ALL_ATOM = 'feeds/all.atom.xml'
144
202ad178f68f Fix matomo and CATEGORY_FEED_ATOM config option
David Douard <david.douard@logilab.fr>
parents: 0
diff changeset
17 CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml'
0
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
18
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
19 DELETE_OUTPUT_DIRECTORY = True
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
20

mercurial