diff --git a/main.py b/main.py index 0c818e8..1722a96 100644 --- a/main.py +++ b/main.py @@ -5,21 +5,8 @@ import jinja2 import yaml -# LIST_URL = "https://bookwyrm.social/list/2458/s/notplants-2023" -# LIST_URL = "https://bookwyrm.social/list/2404/s/2024" - PROJECT_PATH = os.path.abspath(os.path.dirname(__file__)) -# output dirs -OUTPUT_DIR = os.path.join(PROJECT_PATH, 'dist') -if not os.path.exists(OUTPUT_DIR): - os.makedirs(OUTPUT_DIR) - -# input static folder -STATIC_DIR = os.path.join(PROJECT_PATH, 'static') -if not os.path.exists(STATIC_DIR): - os.makedirs(STATIC_DIR) - def build_site(output_dir, images_dir, relative_template_path, template_vars):