cleanup
This commit is contained in:
parent
52e0b49074
commit
95cadb57e8
13
main.py
13
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):
|
||||
|
||||
|
|
Loading…
Reference in New Issue