updating templates to have dedicated wordpress login page, updated phpmyadmin page to be more correct

This commit is contained in:
Phillip Tarrant
2025-12-25 13:35:42 -06:00
parent 9128d2759f
commit 47a49b03be
5 changed files with 516 additions and 19 deletions

View File

@@ -40,6 +40,9 @@ def load_template(name: str, **kwargs) -> str:
>>> load_template("robots.txt") # Loads html/robots.txt
>>> load_template("directory_listing", path="/var/www", rows="<tr>...</tr>")
"""
# debug
# print(f"Loading Template: {name}")
# Check cache first
if name not in _template_cache:
# Determine file path based on whether name has an extension
@@ -58,7 +61,6 @@ def load_template(name: str, **kwargs) -> str:
# Apply substitutions if kwargs provided
if kwargs:
template = template.format(**kwargs)
return template