summaryrefslogtreecommitdiff
path: root/pelicanconf.py
blob: 2e9b18c96be9bdcc0fdb500ff798c9cc0b676e88 (plain)
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
39
40
41
42
43
44
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals

AUTHOR = u'neo900'
SITENAME = u'Neo900'
SITEURL = 'https://neo900.org'

TIMEZONE = 'Europe/Warsaw'

DEFAULT_LANG = u'en'

# Feed generation is usually not desired when developing
FEED_RSS = 'rss.xml'
TRANSLATION_FEED_ATOM = None

IGNORE_FILES = ['.*.kate-swp','*~','.*~','.#*']

DEFAULT_PAGINATION = 0

DIRECT_TEMPLATES = ['index']

DEFAULT_CATEGORY = 'news'

# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True

THEME = 'theme'
THEME_STATIC_DIR = '.'

SUMMARY_MAX_LENGTH = 10000
DEFAULT_DATE_FORMAT = '%b %d, %Y'
LOCALE = 'C'

ARTICLE_URL = "{category}/{slug}"
ARTICLE_SAVE_AS = "{category}/{slug}.html"

PAGE_URL = "{slug}"
PAGE_SAVE_AS = "{slug}.html"

PLUGIN_PATHS = ['plugins','../pelican-plugins']
PLUGINS = ['neighbors']

TWITTER_USERNAME = "Neo900UG"