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:
parent
6a7e4b431c
commit
cc0c6cd250
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user