vantaMOO/web/templates
Alexander Yakovlev c66b8914f1 Redesigning the web look 2023-02-04 19:51:03 +07:00
..
rest_framework vantaMOO! 2023-01-06 03:50:33 +00:00
webclient vantaMOO! 2023-01-06 03:50:33 +00:00
website Redesigning the web look 2023-02-04 19:51:03 +07:00
README.md vantaMOO! 2023-01-06 03:50:33 +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.