some reworking
This commit is contained in:
13
config.py
13
config.py
@@ -1,7 +1,16 @@
|
||||
import os
|
||||
# Main config section
|
||||
class Config:
|
||||
MAIN_PAGE_TITLE = "hydrogen site"
|
||||
|
||||
APP_NAME = "hydrogen"
|
||||
MAIN_PAGE_TITLE = "Selected poems"
|
||||
OUTPUT_DIR = os.environ.get('OUTPUT_DIR') or 'public'
|
||||
APP_DESCRIPTION = "Simplistic static site generator"
|
||||
APP_SRC_URL = f"https://git.exocortex.ru/Exocortex/{APP_NAME}"
|
||||
OUTPUT_DIR = 'public'
|
||||
OUTPUT_IMG_DIR = f"{OUTPUT_DIR}/images"
|
||||
OUTPUT_CSS_DIR = f"{OUTPUT_DIR}/css"
|
||||
OUTPUT_JS_DIR = f"{OUTPUT_DIR}/js"
|
||||
TEMPLATE_DIR = 'templates'
|
||||
CONTENT_DIR = 'content'
|
||||
STATIC_DIR = 'static'
|
||||
HEADER_IMAGE = 'static/header.jpg'
|
||||
Reference in New Issue
Block a user