From edcc28d056fa30681248910a63cf202870d26d1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Tue, 4 Feb 2020 21:03:27 -0500 Subject: pep8 --- plugins/pelican-css-js/pelican_css_js.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/pelican-css-js/pelican_css_js.py') 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 -- cgit v1.2.3