Skip to content

Commit

Permalink
fix 1251
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed May 12, 2015
1 parent a573ed9 commit 1535de6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.txt
Expand Up @@ -11,6 +11,7 @@ Features
Bugfixes
--------

* Ensure galleries are built after the posts task (Issue #1251)
* Handle strange URLs, like ed2k:// (Issue #1695)
* Fix very old metadata format support (Issue #1689)

Expand Down
2 changes: 1 addition & 1 deletion nikola/plugins/task/galleries.py
Expand Up @@ -102,7 +102,7 @@ def set_site(self, site):
self.find_galleries()
# Create self.gallery_links
self.create_galleries_paths()

site.inject_dependency('posts', 'render_galleries')
return super(Galleries, self).set_site(site)

def _find_gallery_path(self, name):
Expand Down

0 comments on commit 1535de6

Please sign in to comment.