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

Proposal: New events related with pagination of posts #3

Closed
yosymfony opened this Issue Feb 25, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@yosymfony
Copy link
Member

yosymfony commented Feb 25, 2014

I want to propose new events related with the pagination of posts:

  • spress.before_render_pagination
  • spress.after_render_pagination

Both events should receive a Yosymfony\Spress\Plugin\Event\RenderEvent as an argument and will be dispatched one time per page.

This events enable to plugins change the behaviour of content pagination and create plugins like "more tag" to get a summarize of the post's content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment