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:
@@ -252,7 +252,7 @@ def get_hook_templates(hook_name):
|
|||||||
|
|
||||||
.. code-block:: html+jinja
|
.. code-block:: html+jinja
|
||||||
|
|
||||||
{% template_hook "media_sidebar" %}
|
{% template_hook("media_sidebar") %}
|
||||||
|
|
||||||
... which will include all templates for you, partly using this
|
... which will include all templates for you, partly using this
|
||||||
method.
|
method.
|
||||||
|
|||||||
Reference in New Issue
Block a user