summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/README.md b/README.md
index ee899b7..d133a1a 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,12 @@ This repository contains a web server which implements some guild management stu
The main server is implemented in `app.py`.
`views/` contains Jinja2 templates.
-These are rendered using the `template()` function.
+These are rendered using the `bottle#template_jinja()` function,
+imported as `template()` in `app.py`.
+Every view `views/X.html` has a corresponding `static/styles/X.css`
+containing styles specific to that view.
+Global styles are thus contained in `static/styles/base.css`
+since that template forms the base for all other views.
`static/` is for files that never change.
-All HTTP requests that begin with `/static/` will be resolved relative to this file.
+All HTTP requests that begin with `/images/` or `/styles/` will be resolved relative to their corresponding subfolder in `static/`.