Skip to content
Permalink
Browse files

fix getnikola/nikola#1251

  • Loading branch information
ralsina committed May 12, 2015
1 parent f6619dc commit 370b5d8e443cb2d2d437e8bcb07882e99f77564f
File renamed without changes.
@@ -2,9 +2,12 @@
Name = gallery_directive
Module = gallery_directive

[Nikola]
MinVersion = 7.4.1

[Documentation]
Author = Roberto Alsina
Version = 0.2
Version = 0.3
Website = http://plugins.getnikola.com/#gallery_plugin
Description = A directive to embed an image gallery in a reSt document

@@ -41,6 +41,7 @@ class Plugin(RestExtension):

def set_site(self, site):
self.site = site
self.inject_dependency('render_posts', 'render_galleries')
Gallery.site = site
directives.register_directive('gallery', Gallery)
return super(Plugin, self).set_site(site)

0 comments on commit 370b5d8

Please sign in to comment.
You can’t perform that action at this time.