1
Fork 0

use footer accounts from paths

This commit is contained in:
Jake Howard 2016-09-11 13:07:21 +01:00
parent 390da4b5ed
commit 7b93139c79
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -19,9 +19,8 @@ def accounts():
def footer(): def footer():
footer_accounts = ["github", "twitter", "reddit", "instagram", "youtube", "flickr"]
all_accounts = accounts() all_accounts = accounts()
return [all_accounts[account] for account in footer_accounts] return [all_accounts[account] for account in settings.footer_accounts]
def index_projects(): def index_projects():