summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorMitsuo Tokumori <[email protected]>2023-10-28 11:44:09 -0500
committerMitsuo Tokumori <[email protected]>2023-10-28 11:44:09 -0500
commitcafc557c6820e1808b1e4cf71f58ff99b97ca545 (patch)
tree486f6a0f082bbc3e744cd2f59ab1704ff5edc416 /README.md
parent72d24988ce8bcf1e5fe841d0ef47532bea08a432 (diff)
downloadustayml-cafc557c6820e1808b1e4cf71f58ff99b97ca545.tar.gz
ustayml-cafc557c6820e1808b1e4cf71f58ff99b97ca545.tar.bz2
ustayml-cafc557c6820e1808b1e4cf71f58ff99b97ca545.zip
Add blueprint blog
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