Hello World
{% include "parts/introtext" %}
Requiring Files
{% require %} works like {% include %} but doesn't return the output.
{% require "myblocks" %} {% require "parts/introtext" as introtext %}Hello World
{% call "divbox", "intro", introtext %}
References :
Reuse Parts | Jinja Documentation
沒有留言:
張貼留言