summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index 77aa31e..9298471 100644
--- a/README.md
+++ b/README.md
@@ -14,9 +14,10 @@ flask --app flaskr run --debug
## Learning resources
-* Flask: https://flask.palletsprojects.com/en/3.0.x/#user-s-guide
+* [Flask user guide](https://flask.palletsprojects.com/en/3.0.x/#user-s-guide)
* DB: https://sqlite.org/lang.html
-* Template: https://jinja.palletsprojects.com/templates/
+* [Jinja Template](https://jinja.palletsprojects.com/templates/)
+ * [For loops](https://jinja.palletsprojects.com/en/3.1.x/templates/#for)
Concepts:
@@ -34,7 +35,8 @@ Concepts:
data that is rendered in HTML templates, so it's safe to render user input.
* `{{ }}` denotes expressions (output) (similar to python)
* `{% %}` denotes control flow statements (similar to pseudo-code)
- * Automatically available: `g`, `url_for`, and more
+ * `{# #}` denotes a comment
+ * Automatically available: `g`, `url_for`, `request`, and more
* In base.html you define "blocks" placeholder which are later defined in
other templates that extend base.html