Skip to content

Commit

Permalink
Merge pull request #87 from getnikola/random_post-uptodate
Browse files Browse the repository at this point in the history
Depends on site.timeline
  • Loading branch information
ralsina committed Jun 4, 2015
2 parents 32f0a23 + 5e60a1a commit ae4afed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion v6/random_post/random_post.plugin
Expand Up @@ -8,6 +8,6 @@ MaxVersion = 7.2.0

[Documentation]
Author = Manuel Kaufmann
Version = 0.1
Version = 0.2
Website = http://plugins.getnikola.com/#random_post
Description = Show a random post
2 changes: 1 addition & 1 deletion v6/random_post/random_post.py
Expand Up @@ -59,7 +59,7 @@ def gen_tasks(self):
(create_json, (output_filename, urls)),
(create_index, (output_index, )),
],
'uptodate': [utils.config_changed(kw)],
'uptodate': [utils.config_changed({1: kw, 2: self.site.timeline})],
}


Expand Down
4 changes: 1 addition & 3 deletions v6/random_post/requirements.txt
@@ -1,3 +1 @@
Nikola
doit
logbook

0 comments on commit ae4afed

Please sign in to comment.