Libbum / oration

A Rocket/Elm self hosted commenting system for static sites
MIT License
22 stars 5 forks source link

A count module for a landing page #80

Open Libbum opened 6 years ago

Libbum commented 6 years ago

Most people will have a list of blog posts on their landing page. We want to be able to tell that page how many comments each post has.

28b9f73 arranges the example files in a manner we wish to augment. If a user links to their post.html#comments and has a count.js linked on this page, we want to capture all of these links and return the comment count for all listed comments.

This probably needs to be a new entry point to the elm app, or some subset of it. Not sure how this should be implemented at present.