Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Emit an event when a post/page already exists, also.
Creation of new_post successfully emits an event, but no event is fired new_post fails because there is an existing post. This event can be used by plugins, for e.g. open the post in an editor or prompt to delete the post, etc.
- Loading branch information
d33a023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These things should come with doc patches. Specifically:
https://github.com/getnikola/nikola/blob/master/docs/extending.txt#L391
d33a023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done 046002a