pep8
This commit is contained in:
parent
15b859f0ad
commit
e94936a39e
@ -41,8 +41,10 @@ def add_files(gen, metadata):
|
|||||||
add the javascripts and/or stylesheets to the article
|
add the javascripts and/or stylesheets to the article
|
||||||
"""
|
"""
|
||||||
site_url = gen.settings['SITEURL']
|
site_url = gen.settings['SITEURL']
|
||||||
formatters = {'styles': '<link rel="stylesheet" href="{0}" type="text/css" />',
|
formatters = {
|
||||||
'js': '<script src="{0}"></script>'}
|
'styles': '<link rel="stylesheet" href="{0}" type="text/css" />',
|
||||||
|
'js': '<script src="{0}"></script>'
|
||||||
|
}
|
||||||
dirnames = {'styles': 'css',
|
dirnames = {'styles': 'css',
|
||||||
'js': 'js'}
|
'js': 'js'}
|
||||||
for key in ['styles', 'js']:
|
for key in ['styles', 'js']:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user