-
Notifications
You must be signed in to change notification settings - Fork 0
/
pelicanconf.py
89 lines (65 loc) · 2.18 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
import os
AUTHOR = u'Alireza Kashani'
SITENAME = u'Ruzane'
#SITEURL = 'http://localhost:8000'
SITEURL = 'http://naarkhoo.github.io/Goshadesar/'
TIMEZONE = 'Europe/Paris'
DATE_FORMAT = {'%d %b %Y'}
DEFAULT_LANG = u'en'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
FEED_ALL_RSS = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
GITHUB_USER = 'naarkhoo'
#GITHUB_SKIP_FORK = True
STATIC_PATHS = ['images']
RESPONSIVE_IMAGES = True
#EXTRA_PATH_METADATA = {
# 'extra/robots.txt': {'path': 'robots.txt'},
# 'extra/favicon.ico': {'path': 'favicon.ico'}
#}
# Blogroll
#LINKS = None
# Social widget
SOCIAL = (('twitter', 'http://twitter.com/DaanDebie'),
('linkedin', 'http://www.linkedin.com/in/danieldebie'),
('github', 'http://github.com/DandyDev'),)
DEFAULT_PAGINATION = 50
TAG_CLOUD_MAX_ITEMS = 10
DISPLAY_CATEGORIES_ON_MENU = False
DISPLAY_TAGS_ON_SIDEBAR = False
#MD_EXTENSIONS = ['codehilite(css_class=highlight)', 'extra', 'headerid']
THEME = os.getcwd() + "/pelican-bootstrap3"
BOOTSTRAP_THEME = 'simplex'
PYGMENTS_STYLE = 'simplex'
BOOTSTRAP_NAVBAR_INVERSE = True
#USE_OPEN_GRAPH = True
#OPEN_GRAPH_FB_APP_ID = '202018593182706'
#OPEN_GRAPH_IMAGE = 'images/dandydev.png'
#TWITTER_CARDS = True
#CC_LICENSE = "CC-BY-NC-SA"
#PLUGIN_PATHS = [os.path.join(os.environ.get('HOME'),
# 'projects/python/pelican-plugins')]
PLUGIN_PATHS = ['/home/rostam/Projects/Daftarcheh/pelican-plugins']
PLUGINS = ['better_figures_and_images',
'liquid_tags.img', 'liquid_tags.video',
'liquid_tags.youtube', 'liquid_tags.vimeo',
'liquid_tags.include_code', 'liquid_tags.notebook',
'pelican_youtube',
'render_math']
NOTEBOOK_DIR = 'notebooks'
DISQUS_SITENAME = 'goshadesar'
#ADDTHIS_PROFILE = 'ra-520d4af6518bf3c7'
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
ARTICLE_URL = 'blog/{slug}.html'
ARTICLE_SAVE_AS = 'blog/{slug}.html'
PAGE_URL = '{slug}.html'
PAGE_SAVE_AS = '{slug}.html'
TAG_URL = 'tags/{slug}.html'
TAG_SAVE_AS = 'tags/{slug}.html'
TAGS_URL = 'tags.html'