From cc0c6cd25088f68a12aa0e1f048873d64b166d59 Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Wed, 4 Sep 2013 11:35:39 +0200 Subject: [PATCH] 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. --- mediagoblin/tools/pluginapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.25.1