Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 33043a4

Browse files
author
Adam Parkin
committed
Switch theme to Flex
1 parent 2eeb311 commit 33043a4

File tree

2 files changed

+23
-6
lines changed

2 files changed

+23
-6
lines changed

content/static/imgs/me.jpg

190 KB
Loading

pelicanconf.py

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"""
66

77
from __future__ import unicode_literals
8+
from datetime import datetime
89

910
AUTHOR = 'Adam Parkin'
1011
SITENAME = 'The Codependent Codr'
@@ -24,17 +25,17 @@
2425
AUTHOR_FEED_RSS = None
2526

2627
# Blogroll
27-
# LINKS = (('Github', 'https://github.com/pzelnip'),
28+
# LINKS = (('github', 'https://github.com/pzelnip'),
2829
# ('Twitter', 'https://twitter.com/codependentcodr'),
2930
# ('StackOverflow', 'http://stackoverflow.com/users/808804'),
3031
# ('LinkedIn', 'http://lnkd.in/ykHQiG'),
3132
# )
3233

3334
# Social widget
34-
SOCIAL = (('Github', 'https://github.com/pzelnip'),
35-
('Twitter', 'https://twitter.com/codependentcodr'),
36-
('StackOverflow', 'http://stackoverflow.com/users/808804'),
37-
('LinkedIn', 'http://lnkd.in/ykHQiG'),
35+
SOCIAL = (('github', 'https://github.com/pzelnip'),
36+
('twitter', 'https://twitter.com/codependentcodr'),
37+
('stack-overflow', 'http://stackoverflow.com/users/808804'),
38+
('linkedin', 'http://lnkd.in/ykHQiG'),
3839
)
3940

4041
DEFAULT_PAGINATION = 10
@@ -50,8 +51,24 @@
5051
DISPLAY_PAGES_ON_MENU = False
5152

5253
MENUITEMS = (
53-
('Home', '/'),
5454
('Posts', '/category/posts.html'),
5555
('Tags', '/tags.html'),
5656
('About', '/about.html'),
5757
)
58+
59+
THEME = 'Flex'
60+
61+
# Settings for the Flex theme, see docs at:
62+
# https://github.com/alexandrevicenzi/Flex/wiki/Custom-Settings
63+
SITETITLE = 'The Codependent Codr'
64+
# SITESUBTITLE = 'Foobar'
65+
SITELOGO = '/static/imgs/me.jpg'
66+
SITEDESCRIPTION = 'Random thoughts from a random developer'
67+
BROWSER_COLOR = '#eff3f9'
68+
COPYRIGHT_YEAR = str(datetime.now().year)
69+
CC_LICENSE = {
70+
'name': 'Creative Commons Attribution-ShareAlike',
71+
'version': '4.0',
72+
'slug': 'by-sa'
73+
}
74+
MAIN_MENU = True

0 commit comments

Comments
 (0)