This commit is contained in:
SG
2025-06-09 23:34:36 +03:00
parent 3348df26e5
commit 2d7f1c1f7d
30 changed files with 1312 additions and 67 deletions

View File

@@ -1,30 +1,9 @@
#!/usr/bin/env python3
from pathlib import Path
import shutil
from config import Config
from logger import logger
from argparser import argparser
from classes import *
from functions import *
content_dir = Path('content')
template_dir = Path('templates')
output_dir = Path(Config.OUTPUT_DIR)
img_dir = Path('public/images')
assets_css_dir = Path(output_dir / 'static/css')
assets_js_dir = Path(output_dir / 'static/js')
static_dir = Path('static')
header_image = Config.HEADER_IMAGE or '/static/header.jpg'
def build_site_old():
logger.info(f"Building the '{Config.MAIN_PAGE_TITLE}' site.")