updates
This commit is contained in:
21
hydrogen.py
21
hydrogen.py
@@ -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.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user