Fix plugin documentation

The docs suggest to use {% template_hook "media_sidebar" %}. This
will break Mediagoblin in mysterious ways, and the docs need a fix.
This commit is contained in:
Sebastian Spaeth 2013-09-04 11:35:39 +02:00
parent 6a7e4b431c
commit cc0c6cd250

View File

@ -252,7 +252,7 @@ def get_hook_templates(hook_name):
.. code-block:: html+jinja
{% template_hook "media_sidebar" %}
{% template_hook("media_sidebar") %}
... which will include all templates for you, partly using this
method.