diff options
author | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2013-09-04 11:35:39 +0200 |
---|---|---|
committer | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2013-09-04 11:35:39 +0200 |
commit | cc0c6cd25088f68a12aa0e1f048873d64b166d59 (patch) | |
tree | 0e05b221f28a7a748f5bab88934cf219529ccc87 /mediagoblin/tools/pluginapi.py | |
parent | 6a7e4b431cf5f58389676ba7055151dd023ac080 (diff) | |
download | mediagoblin-cc0c6cd25088f68a12aa0e1f048873d64b166d59.tar.lz mediagoblin-cc0c6cd25088f68a12aa0e1f048873d64b166d59.tar.xz mediagoblin-cc0c6cd25088f68a12aa0e1f048873d64b166d59.zip |
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.
Diffstat (limited to 'mediagoblin/tools/pluginapi.py')
-rw-r--r-- | mediagoblin/tools/pluginapi.py | 2 |
1 files changed, 1 insertions, 1 deletions
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. |