From: Fabien Potencier Date: Mon, 23 Apr 2012 19:26:07 +0000 (+0200) Subject: tweaked examples X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=1b547807d2962702afd819903509b35a53ee283d;p=web%2Fkonrad%2Ftwig.git tweaked examples --- diff --git a/doc/tags/inline.rst b/doc/tags/inline.rst index 6d649a9..312d872 100644 --- a/doc/tags/inline.rst +++ b/doc/tags/inline.rst @@ -39,11 +39,11 @@ Some pages (page 1, 2, ...) share the same structure for the block:: ┌─── Page 1 & 2 ──────────────────────┐ │ │ │ ┌── Base A ───────────┐ │ - │ │ ┌─────────────────┐ │ │ - │ │ │ Content 1, ... │ │ │ + │ │ ┌── content1 ─────┐ │ │ + │ │ │ content for p1 │ │ │ │ │ └─────────────────┘ │ │ - │ │ ┌─────────────────┐ │ │ - │ │ │ Content 1, ... │ │ │ + │ │ ┌── content2 ─────┐ │ │ + │ │ │ content for p1 │ │ │ │ │ └─────────────────┘ │ │ │ └─────────────────────┘ │ │ │ @@ -95,7 +95,7 @@ content is kept in each page (as in solution 2): {% block base %} {% inline %} - {% extends "base_a.twig" %} + {% extends "base_A.twig" %} {% block content1 %} Content 1 for page 2 @@ -107,7 +107,7 @@ content is kept in each page (as in solution 2): {% endinline %} {% endblock %} -And here is the code for ``base_a.twig``: +And here is the code for ``base_A.twig``: .. code-block:: jinja