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
Merged

Depends on site.timeline #87

merged 2 commits into from Jun 4, 2015

Conversation

humitos
Copy link
Member

@humitos 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})],
Copy link
Member

@ralsina ralsina Jun 4, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't remove kw here.

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

ralsina added a commit that referenced this issue Jun 4, 2015
@ralsina ralsina merged commit ae4afed into master Jun 4, 2015
0 of 2 checks passed
@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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants