Config host
This commit is contained in:
parent
24367d3a8c
commit
eb83f82151
2
docs.py
2
docs.py
|
@ -25,7 +25,7 @@ jinja_markdown.EXTENSIONS.append("toc")
|
||||||
HTAG = re.compile(r"<h(\d)[^>]*id=\"([^\"]+)\"[^>]*>([^<]*)</h")
|
HTAG = re.compile(r"<h(\d)[^>]*id=\"([^\"]+)\"[^>]*>([^<]*)</h")
|
||||||
TOC_HTAG_LEVELS = {"1", "2"}
|
TOC_HTAG_LEVELS = {"1", "2"}
|
||||||
|
|
||||||
HOST = "https://bsnk.me"
|
HOST = os.environ.get("EA_HOST", "https://bsnk.me")
|
||||||
TEMPLATES = "templates"
|
TEMPLATES = "templates"
|
||||||
PAGES_BASE = os.environ.get("EA_PROOT", "pages")
|
PAGES_BASE = os.environ.get("EA_PROOT", "pages")
|
||||||
STATIC = ["images", "static", "mice"]
|
STATIC = ["images", "static", "mice"]
|
||||||
|
|
Loading…
Reference in New Issue