hazelmud/web/templates
Hazel Nova 831b10deca Initial commit (basic RP encounter system) 2024-01-10 04:31:02 +00:00
..
rest_framework Initial commit (basic RP encounter system) 2024-01-10 04:31:02 +00:00
webclient Initial commit (basic RP encounter system) 2024-01-10 04:31:02 +00:00
website Initial commit (basic RP encounter system) 2024-01-10 04:31:02 +00:00
README.md Initial commit (basic RP encounter system) 2024-01-10 04:31:02 +00:00

README.md

HTML templates

Templates are HTML files that (usually) have special {{ ... }} template markers in them to allow Evennia/Django to insert dynamic content in a web page. An example is listing how many users are currently online in the game.

Templates are referenced by views - Python functions or callable classes that prepare the data needed by the template and 'renders' them into a finished HTML page to return to the user.

You can replace Evennia's default templates by overriding them in this folder. The originals are in evennia/web/templates/ - just copy the template into the corresponding location here (so the website's index.html should be copied to website/index.html where it can be modified). Reload the server to see your changes.