aboutsummaryrefslogtreecommitdiffstats
path: root/graymill/sample_pelicanconf.py
blob: 8a9680e73be8400a7b569f5c512e91c3f22dad2f (plain) (blame)
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
45
46
47
48
49
50
51
52
53
54
55
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals

# Basic information
AUTHOR = u'author'
AUTHOREMAIL = 'myemail [at] mydomain [dot] tld'
SITENAME = u'siteName'
SITEURL = 'http://muchbits.com'

PATH = 'content'

TIMEZONE = 'Asia/Kolkata'

DEFAULT_LANG = u'en'
THEME = 'themes/graymill'

# Social widgets
SOCIAL = (('twitter', 'https://twitter.com/'),
          ('linkedin', 'https://www.linkedin.com/'),
          ('github', 'https://github.com/'),
          ('facebook', 'https://facebook.com/'),
         )

DEFAULT_PAGINATION = 8

SITEDESCRIPTION = 'my custom tagline/description'

# For post-summaries
DISPLAY_SUMMARY = True

# To display static pages like About, Contact etc.
DISPLAY_PAGES_ON_MENU = True

MENUITEMS = (('Home', SITEURL),
            )

# Feed generation is usually not desired when developing
FEED_ALL_RSS = False
FEED_ALL_ATOM = False
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None

# Favicon (path relative to './content/')
FAVICON = 'images/favicon.png'

# To include custom static files like htaccess, robots, PDF files etc. (path relative to './content/')
STATIC_PATHS = ['images', 'extras']
EXTRA_PATH_METADATA = {
    'extras/.htaccess': {'path': '.htaccess'},
    'extras/robots.txt': {'path': 'robots.txt'},
}