diff options
author | Gergely Csatari <gergely.csatari@nokia.com> | 2023-10-26 10:33:28 +0300 |
---|---|---|
committer | Gergely Csatari <gergely.csatari@nokia.com> | 2023-10-26 10:34:28 +0300 |
commit | 2ec0d7b9f5c1354977b821c6b06c24a3ffa13142 (patch) | |
tree | 6e449d92ddfc880ed007e9d8a8f25bda8fc7cb0f /src/templates/README | |
parent | 0d3dd290aa6e7f39e7b0b3cbe448b6622f924240 (diff) |
that the development continues in GitHub
Change-Id: I25c58a679dbf92b2367d826429b7cda936bf9f0e
Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
Diffstat (limited to 'src/templates/README')
-rw-r--r-- | src/templates/README | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/templates/README b/src/templates/README deleted file mode 100644 index d058036..0000000 --- a/src/templates/README +++ /dev/null @@ -1,25 +0,0 @@ -We use a special directory structure here that allows you to define -your own set of templates than inherit from a common base. - -To create your own templates: - -Create your new directory as a sibling of base/ - `mkdir my_templates` - -Now you can override any template file in base/ by creating a file of the same name in my_templates. - -For example, to replace base/booking/booking_table.html, -you would create my_templates/booking/booking_table.html. Your template will be loaded instead of the original. - - -You can also inherit from the base templates. For example, if you -wanted to add to base/dashboard/landing.html, you can create -a template at my_templates/dashboard/landing.html and add this line to -the top of the file: - {% extends base/dashboard/landing.html %} - -This way you can add in new {% block %} tags to the parents and define only -the new content you need without affecting the default behavior. - - -When your template directory is ready, you must add it to your config.env |