Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Depends on site.timeline #87

Merged
merged 2 commits into from Jun 4, 2015

Conversation

@humitos
Copy link
Member

humitos commented Jun 4, 2015

Use utils.config_changed({1: self.site.timeline}) as dependecy. So,
when a post is written, changed or deleted the "posts.json" is
re-generated to be up to date.

Use utils.config_changed({1: self.site.timeline}) as dependecy. So,
when a post is written, changed or deleted the "posts.json" is
re-generated to be up to date.
@@ -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: self.site.timeline})],

This comment has been minimized.

Copy link
@ralsina

ralsina Jun 4, 2015

Member

Don't remove kw here.

Maybe {1: kw, 2: self.site.timeline} ?

ralsina added a commit that referenced this pull request Jun 4, 2015
Depends on site.timeline
@ralsina ralsina merged commit ae4afed into master Jun 4, 2015
0 of 2 checks passed
0 of 2 checks passed
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
continuous-integration/travis-ci/push The Travis CI build is in progress
Details
@ralsina ralsina deleted the random_post-uptodate branch Jun 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.