diff options
Diffstat (limited to 'plugins/pelican-css-js')
-rw-r--r-- | plugins/pelican-css-js/pelican_css_js.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/pelican-css-js/pelican_css_js.py b/plugins/pelican-css-js/pelican_css_js.py index d3c5420..9cab8a6 100644 --- a/plugins/pelican-css-js/pelican_css_js.py +++ b/plugins/pelican-css-js/pelican_css_js.py @@ -10,6 +10,7 @@ import shutil from pelican import signals + def copy_resources(src, dest, file_list): """ Copy files from content folder to output folder @@ -33,6 +34,7 @@ def copy_resources(src, dest, file_list): file_src = os.path.join(src, file_) shutil.copy2(file_src, dest) + def add_files(gen, metadata): """ The registered handler for the dynamic resources plugin. It will @@ -59,6 +61,7 @@ def add_files(gen, metadata): htmls.append(html) metadata[key] = htmls + def move_resources(gen): """ Move files from js/css folders to output folder |