diff --git a/pelicanconf.py b/pelicanconf.py index 85909fc..a487901 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -22,14 +22,9 @@ USE_FOLDER_AS_CATEGORY = True DEFAULT_PAGINATION = False 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 import links +ACCOUNTS = links.accounts() FOOTER_LINKS = links.footer() INDEX_PROJECTS = links.index_projects() diff --git a/plugins/links.py b/plugins/links.py index 668c134..d1e5b73 100644 --- a/plugins/links.py +++ b/plugins/links.py @@ -1,8 +1,6 @@ from collections import namedtuple from random import shuffle - -SocialLink = namedtuple("SocialLink", ["name", "url", "icon"]) ProjectLink = namedtuple("ProjectLink", ["name", "url", "image"]) Account = namedtuple("Account", ["name", "url", "icon", "username"])