Similar to the neighborhood_blog_posts
macro, we should have a macro that pulls blog posts for just the current project, and accepts an optional mount point param. This would be used for the Adobe neighborhood project with separate 'events' and 'news' blog instances. So make sure it works with --init--
as well as regular projects.
Diff:
On allura js/2602. To test, create a project with two blog tools. Add some posts to the tools in draft and published states. In the project's wiki, add this macro: [[project_blog_posts]] You should see published posts from both blog tools. Add the mount point option like this: [[project_blog_posts mount_point=news]] Now you should only see published posts from that blog.
Looks good, merged to dev.