Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed May 12, 2015
1 parent f6619dc commit 370b5d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
File renamed without changes.
Expand Up @@ -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

Expand Up @@ -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)
Expand Down

0 comments on commit 370b5d8

Please sign in to comment.