This commit is contained in:
Jesús 2020-06-17 19:49:47 -05:00
parent 15b859f0ad
commit e94936a39e
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -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']: