From 2e2faae9c0a7ad58b9c2d0359811404ac443a6b6 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 17 Jun 2016 17:26:45 +0100 Subject: [PATCH] cleanup --- pelicanconf.py | 7 +------ plugins/links.py | 2 -- 2 files changed, 1 insertion(+), 8 deletions(-) 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"])