From 03f84426a81d180c602d7afad68c123622181fcd Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 8 Apr 2016 22:26:17 +0100 Subject: [PATCH] Remove dedicated links config --- data/context.yml | 6 +++++- data/links.yml | 4 ---- project/common/data.py | 3 --- 3 files changed, 5 insertions(+), 8 deletions(-) delete mode 100644 data/links.yml diff --git a/data/context.yml b/data/context.yml index 8b13789..115d4ca 100644 --- a/data/context.yml +++ b/data/context.yml @@ -1 +1,5 @@ - +links: + github: https://github.com/RealOrangeOne + twitter: https://twitter.com/RealOrangeOne + instagram: https://instagram.com/RealOrangeOne + youtube: https://www.youtube.com/user/TheOrangeOneOfficial diff --git a/data/links.yml b/data/links.yml deleted file mode 100644 index 279b7d1..0000000 --- a/data/links.yml +++ /dev/null @@ -1,4 +0,0 @@ -github: https://github.com/RealOrangeOne -twitter: https://twitter.com/RealOrangeOne -instagram: https://instagram.com/RealOrangeOne -youtube: https://www.youtube.com/user/TheOrangeOneOfficial diff --git a/project/common/data.py b/project/common/data.py index 8e4597f..2362fa8 100644 --- a/project/common/data.py +++ b/project/common/data.py @@ -22,9 +22,6 @@ def generate_config(base_dir): if project['path'] in page: # If there's a custom config default['projects'][i] = dict(project, **page[project['path']]) - # Add links config - default['links'] = get_data_from_file(base_dir, 'links.yml') - return default, page, switcher