Guide

Add webmentions to Eleventy

Show Bluesky and Mastodon replies on an Eleventy site

  1. 1

    Add your domain in wbmntn and copy the two-line snippet.

  2. 2

    Paste it into your base layout's head element.

  3. 3

    Rebuild the site, then verify the domain in wbmntn.

Eleventy layouts are plain HTML. Add the snippet to the <head> of your base layout.

Endpoint

GET https://wbmntn.com/domains/your-domain.com/mentions.json

Embed

npm install @wbmntn/mentions