-
Notifications
You must be signed in to change notification settings - Fork 58
/
pelicanconf.py
63 lines (47 loc) · 1.73 KB
/
pelicanconf.py
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
56
57
58
59
60
61
62
63
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Python Users Group Nepal'
SITENAME = u'Python Users Group Nepal'
SITETITLE = AUTHOR
TAGLINE = u'#PyNepal'
SITEURL = ''
FAVICON_URL = 'https://www.python.org/static/favicon.ico'
DISPLAY_PAGES_ON_MENU = False
PATH = 'content'
TIMEZONE = 'Asia/Kathmandu'
DEFAULT_LANG = u'en'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
# Blogroll
LINKS = (('Python', 'http://python.org/'),)
# Social widget
SOCIAL = (('group', 'https://www.meetup.com/PythonNepal/'),
('facebook', 'https://www.facebook.com/groups/pythonnepal/'),
('youtube', 'https://www.youtube.com/channel/UC7EWmhPyAIHDsXY93C34eXA'),
('rss', 'feeds/all.atom.xml'),)
DEFAULT_PAGINATION = False
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True
THEME = "pure-single"
COVER_IMG_URL = "https://upload.wikimedia.org/wikipedia/commons/4/40/Nepal_Patan_Mangal.jpg"
STATIC_PATHS = ["static", "extra"]
# Extra metadata dictionaries keyed by relative path
EXTRA_PATH_METADATA = {
'extra/CNAME': {'path': 'CNAME'}
}
MENUITEMS = [
("Companies", "http://0.0.0.0:8000/pages/pythoninnepal.html"),
("Developers", "http://0.0.0.0:8000/pages/developers.html"),
("Resources", "http://0.0.0.0:8000/pages/resources.html"),
("Meetups", "http://0.0.0.0:8000/pages/meetups.html"),
("Videos", "http://0.0.0.0:8000/pages/videos.html")
]
#
# Use the article's filename instead of the article's title for the
# URL. This way conflict due to similar titles can be avoided
#
SLUGIFY_SOURCE = "basename"
CUSTOM_CSS = "static/css/custom.css"