diff options
author | AdaĆas Magdiel <adaiasmagdiell@gmail.com> | 2024-03-06 05:08:16 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-06 09:08:16 +0100 |
commit | 057e1d1b10b7e36e01a382c88fa1e22711e10b73 (patch) | |
tree | 7e61b12b46f6806a4815956bfb123ed1eb1d1a87 /zh-cn/c++-cn.html.markdown | |
parent | 33284311ef1ba37d92c3b28afe81ff55f1441651 (diff) |
[jinja/en] Create page about Jinja (#4852)
* feat(jinja): Add Jinja template introduction and examples
- Added a detailed introduction to Jinja templating engine for Python
- Included examples for variables, template inheritance, including content and loops
- Provided explanations and syntax for delimiters, template inheritance,
variables, loops, conditionals, and including content
- Demonstrated how to use Jinja for web development, such as creating HTML
templates and including dynamic content displayed within a browser
* [jinja/en] Create Jinja documentation
- Improved the readability and consistency of the content in the file by
adjusting the line breaks and formatting of the text.
- Corrected the whitespace and formatting issues in the code snippets.
- Unified the style of the text by keeping similar instructions on the same
text alignment level for easier comprehension.
- Ensured proper spacing and indentation in the 'Template Inheritance' section
for a better display and understanding of the concept.
- Updated the 'Including Content' section to fix a typo in the include tag.
- Streamlined the 'Variables passed to the main template' section by refining
the explanation and enhancing clarity.
- Consolidated information in the 'Conditionals, Macros, and Official
Documentation' sections to provide a clearer and consistent documentation
style.
- Incorporated a link to the official Jinja documentation for further
reference.
* chore: Organize Jinja's template inheritance section
Diffstat (limited to 'zh-cn/c++-cn.html.markdown')
0 files changed, 0 insertions, 0 deletions