From 2e91cf3d78c2bc07e002447e0ccea09cd38598c5 Mon Sep 17 00:00:00 2001 From: Jorge Maldonado Ventura Date: Wed, 15 Feb 2017 13:23:16 +0100 Subject: [PATCH] Small fix --- custom_css.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_css.py b/custom_css.py index 74b501a..c85aba8 100644 --- a/custom_css.py +++ b/custom_css.py @@ -46,7 +46,7 @@ def format_css(gen, metastring, formatter): """ metalist = metastring.replace(' ', '').split(',') if gen.settings['RELATIVE_URLS']: - site_url = '.' + site_url = '..' else: site_url = gen.settings['SITEURL'] return [formatter.format(site_url, x) for x in metalist] @@ -79,7 +79,7 @@ def add_tags(gen, metadata): It will add the CSS to the article """ if 'css' in metadata.keys(): - style = '' + style = '' metadata['styles'] = format_css(gen, metadata['css'], style)