aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/pelican-css-js/pelican_css_js.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pelican-css-js/pelican_css_js.py')
-rw-r--r--plugins/pelican-css-js/pelican_css_js.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/pelican-css-js/pelican_css_js.py b/plugins/pelican-css-js/pelican_css_js.py
index 9cab8a6..1b07e68 100644
--- a/plugins/pelican-css-js/pelican_css_js.py
+++ b/plugins/pelican-css-js/pelican_css_js.py
@@ -41,8 +41,10 @@ def add_files(gen, metadata):
add the javascripts and/or stylesheets to the article
"""
site_url = gen.settings['SITEURL']
- formatters = {'styles': '<link rel="stylesheet" href="{0}" type="text/css" />',
- 'js': '<script src="{0}"></script>'}
+ formatters = {
+ 'styles': '<link rel="stylesheet" href="{0}" type="text/css" />',
+ 'js': '<script src="{0}"></script>'
+ }
dirnames = {'styles': 'css',
'js': 'js'}
for key in ['styles', 'js']: