From: Sebastian Spaeth Date: Wed, 4 Sep 2013 09:35:39 +0000 (+0200) Subject: Fix plugin documentation X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cc0c6cd25088f68a12aa0e1f048873d64b166d59;p=mediagoblin.git 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. --- diff --git a/mediagoblin/tools/pluginapi.py b/mediagoblin/tools/pluginapi.py index 3f98aa8a..1eabe9f1 100644 --- a/mediagoblin/tools/pluginapi.py +++ b/mediagoblin/tools/pluginapi.py @@ -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.