Enabling Webmentions in Jekyll, From the Notebook of Aaron Gustafson
Aaron documents the process of adding webmention support to a static site. He came with an ingenious three-tiered approach:
It’s been a pretty fun mini-project. In the end, I created a useful bit of kit that provides three distinct experiences:
- Static webmentions collected when the site was generated form the baseline experience;
- JavaScript-enabled browsers get any webmentions that were published since I last generated the site; and
- JavaScript-enabled browsers with WebSockets support get real-time updates with any webmentions that are published after the page loads.