forked from glugnith/glugnith.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pelicanconf.py
44 lines (38 loc) · 1.13 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
AUTHOR = 'GLUG-NITH'
SITENAME = 'GNU/Linux Users Group'
SITESUBTITLE = 'Open Source Community of NITH'
SITEURL = 'https://glugnith.github.io'
SITEIMAGE = 'images/glug-logo.png width=150px height=150px'
SITEBANNER = 'images/glug.svg width=70px'
NAVURL = 'https://nith.ac.in'
NAVTEXT = "NIT Hamirpur"
THEME = 'themes/alchemy'
PATH = 'content'
TIMEZONE = 'Asia/Kolkata'
DEFAULT_LANG = 'en'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
# URL Flexibility
ARTICLE_URL = 'posts/{category}/{slug}.html'
ARTICLE_SAVE_AS = ARTICLE_URL
PAGE_URL = 'pages/{slug}.html'
PAGE_SAVE_AS = PAGE_URL
# icons
ICONS = [
('github', "https://github.com/glugnith"),
('instagram', 'https://www.instagram.com/glugnith'),
('linkedin', 'https://www.linkedin.com/groups/6683789/'),
('facebook', 'https://www.facebook.com/glug.nith')
]
# links
LINKS = [
('Report a Bug', "https://github.com/glugnith/glugnith.github.io/issues/new")
]
DEFAULT_PAGINATION = 5
PYGMENTS_STYLE = 'monokai'