Skip to content

Commit

Permalink
[#2375] Template doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Aug 20, 2012
1 parent bc6b9e8 commit a72ec6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/templating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ language.
Includes
~~~~~~~~

.. Note:
.. Note::
Includes should be avoided as they are not portable use {% snippet %} tags whenever possible.

Snippets of text that are included using ``{% include %}`` should be
Expand All @@ -141,7 +141,7 @@ case the usage should be clearly documented.
Snippets
~~~~~~~~

.. Note:
.. Note::
{% snippet %} tags should be used in favour of h.snippet()

Snippets are essentially middle ground between includes and macros in
Expand Down Expand Up @@ -224,7 +224,7 @@ portion that we wish to change. In this case the ``breadcrumb`` block.
This function works recursively and so is ideal for extensions that wish to
add a small snippet of functionality to the page.

.. Note:
.. Note::
{% ckan_extend %} only extends templates of the same name.

snippet
Expand Down

0 comments on commit a72ec6e

Please sign in to comment.