You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bolt/bolt/templates/jinja/README.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,4 @@
1
-
# Templates
2
-
3
-
Render templates using Jinja2.
1
+
# Jinja
4
2
5
3
Templates can be stored inside `INSTALLED_PACKAGES` (ex. `app/<pkg>/templates`) or in the `templates` directory at the root of your project (ex. `app/templates`).
6
4
@@ -11,6 +9,9 @@ which the whole app depends on.
11
9
12
10
### Package templates
13
11
12
+
Since all template directories are effectively "merged" together,
13
+
packages will typically namespace their own templates such as `app/users/templates/users/delete.html`.
14
+
14
15
## Jinja
15
16
16
17
There is a default set of globals, filters, and extensions.
0 commit comments