mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-21 07:37:43 +00:00
fixed makup in doc
This commit is contained in:
+5
-5
@@ -1658,13 +1658,13 @@ the ``blocks.html`` template.
|
||||
|
||||
.. code-block:: jinja
|
||||
|
||||
{% extends "base.html" %}
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% use "blocks.html" with sidebar as parent_sidebar %}
|
||||
{% use "blocks.html" with sidebar as parent_sidebar %}
|
||||
|
||||
{% block sidebar %}
|
||||
{{ block('parent_sidebar') }}
|
||||
{% endblock %}
|
||||
{% block sidebar %}
|
||||
{{ block('parent_sidebar') }}
|
||||
{% endblock %}
|
||||
|
||||
.. note::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user