cleanup
This commit is contained in:
parent
ca3420fbc5
commit
2e2faae9c0
2 changed files with 1 additions and 8 deletions
|
@ -22,14 +22,9 @@ USE_FOLDER_AS_CATEGORY = True
|
||||||
DEFAULT_PAGINATION = False
|
DEFAULT_PAGINATION = False
|
||||||
SLUGIFY_SOURCE = 'basename'
|
SLUGIFY_SOURCE = 'basename'
|
||||||
|
|
||||||
# Blogroll
|
|
||||||
LINKS = (('Pelican', 'http://getpelican.com/'),
|
|
||||||
('Python.org', 'http://python.org/'),
|
|
||||||
('Jinja2', 'http://jinja.pocoo.org/'),
|
|
||||||
('You can modify those links in your config file', '#'),)
|
|
||||||
|
|
||||||
# Social widget
|
# Social widget
|
||||||
import links
|
import links
|
||||||
|
ACCOUNTS = links.accounts()
|
||||||
FOOTER_LINKS = links.footer()
|
FOOTER_LINKS = links.footer()
|
||||||
INDEX_PROJECTS = links.index_projects()
|
INDEX_PROJECTS = links.index_projects()
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
from collections import namedtuple
|
from collections import namedtuple
|
||||||
from random import shuffle
|
from random import shuffle
|
||||||
|
|
||||||
|
|
||||||
SocialLink = namedtuple("SocialLink", ["name", "url", "icon"])
|
|
||||||
ProjectLink = namedtuple("ProjectLink", ["name", "url", "image"])
|
ProjectLink = namedtuple("ProjectLink", ["name", "url", "image"])
|
||||||
Account = namedtuple("Account", ["name", "url", "icon", "username"])
|
Account = namedtuple("Account", ["name", "url", "icon", "username"])
|
||||||
|
|
||||||
|
|
Reference in a new issue