-
Notifications
You must be signed in to change notification settings - Fork 2
/
pelicanconf.py
88 lines (71 loc) · 2.42 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Marcos Martinez'
SITENAME = u'frommelmak'
SITEURL = 'https://frommelmak.com'
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'es'
USE_FOLDER_AS_CATEGORY = False
#ARTICLE_DIR = 'posts'
ARTICLE_PATHS = ['content/posts']
PAGE_PATHS = ['content/pages']
DISPLAY_PAGES_ON_MENU = True
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
##############################
# CUSTOM SETTINGS (frommelmak)
##############################
DISPLAY_CATEGORIES_ON_MENU = False
# Don't forget to install "pip install mdx_video"
MD_EXTENSIONS = ['codehilite', 'extra', 'video']
TYPOGRIFY = True
THEME = "themes/plumage"
STATIC_PATHS = [
'images',
]
IMAGE_PATH = "images"
#THUMBNAIL_SIZES = {
# 'thumbnail': '462x?',
#}
#DEFAULT_TEMPLATE = """<a href="{url}" class="zoomable" title="{filename}"><img src="{thumbnail}" alt="{filename}"></a>"""
SITE_THUMBNAIL = "images/avatar.png"
SITE_THUMBNAIL_TEXT = "Alien Life Form"
SITESUBTITLE = "Yet another Melmacian interested in technology..."
#PAGE_DIR = 'pages'
#PLUGIN_PATH = "pelican-plugins"
PLUGIN_PATHS = ["pelican-plugins"]
PLUGINS = ["neighbors","related_posts"]
RELATED_POSTS_MAX = 3
MENUITEMS = (
('Home', '/'),
)
TWITTER_USERNAME = "frommelmak"
GITHUB_URL = "https://github.com/frommelmak"
SOCIAL_TITLE = "Contact"
SOCIAL = (
('@frommelmak', 'http://twitter.com/frommelmak'),
)
LINKS_TITLE = "Profiles"
LINKS = (
# ('PDF resume', 'http://docs.google.com/document/export?format=pdf&id=1XaJgwRAhxHDuBSD-JqE--8WKGx0uTasa6IOU4IFBeKg'),
('LinkedIn', 'http://linkedin.com/in/marcosmartinezjimenez'),
('GitHub', 'http://github.com/frommelmak'),
('Youtube', 'http://www.youtube.com/user/melmak'),
)
#CATEGORY_URL = 'category/{slug}/'
#CATEGORY_SAVE_AS = CATEGORY_URL + 'index.html'
# Tags, categories and archives are Direct Templates, so they don't have a
# <NAME>_URL option.
TAGS_SAVE_AS = 'tags/index.html'
CATEGORIES_SAVE_AS = 'categories/index.html'
ARCHIVES_SAVE_AS = 'archives/index.html'
ARTICLE_EDIT_LINK = 'https://github.com/frommelmak/blog/edit/master/content/posts/%(slug)s.md'
GOOGLE_SEARCH = 'partner-pub-2082790787711438:7148578903'
#LEFT_SIDEBAR=""" """
DISQUS_SITENAME = "frommelmak"