miklb / jekyll-indieweb

A Jekyll quick start to getting up and going with the IndieWeb
http://miklb.github.io/jekyll-indieweb/
MIT License
59 stars 14 forks source link

Webmentions #1

Closed BryanSchuetz closed 7 years ago

BryanSchuetz commented 8 years ago

Have you considered including web mentions for a post when the site builds—rather than adding them in on the client-side?

voxpelli commented 8 years ago

I'm "solving" this in my theme by using an as of yet experimental embed of webmentions that progressively enhances a u-responses link into a list of embeds. Eg. a link like:

<a class="u-responses" href="https://webmention.herokuapp.com/api/mentions?format=html&amp;url=http%3A%2F%2Fvoxpelli.com%2F2016%2F03%2Fexperts-dont-change-the-world%2F">See mentions of this post</a>

That makes the mentions curlable and as long as they are curlable I don't have much issue with using a client side embed. (It's still experimental as curlable only became an issue when Salmentions became a thing as Salmentions has a need to parse mentions).

miklb commented 8 years ago

@BryanSchuetz my personal jekyll install does that, but requires a plugin. My goal with this project was to provide a starting point for users on GitHub pages, which doesn't support plugins (without a more complicated build/deploy process).

You can check my personal repo in the jekyll branch to see what I'm using and feel free to ping me in IRC or the repo or Twitter if you have any questions.

miklb commented 7 years ago

Closing this as I believe the Jekyll Webmention plugin now properly sends Webmentions, there is no native way to do this currenty with a GitHub Pages site.