Webmentions in a template
What a template reads on page.webmentions, and on each mention in it. Every value is plain text, never HTML.
comments
The page’s replies, mentions and bookmarks, oldest first. Empty if there are none.
reactions
The page’s likes and reposts, oldest first. Empty if there are none.
kind
What the mention is: replied, liked, reposted, bookmarked or mentioned.
url
The URL of the sender’s page that mentions this one.
author
Who sent the mention. If the mention doesn’t say, author has no value.
author_url
The URL of the sender’s own page. If the mention doesn’t say, author_url has no value.
published
When the mention was published, as a date. If the mention doesn’t say, published has no value.
content
What the sender wrote, as plain text. Show it without markdown or safe, which would put another site’s HTML into the page. If the mention has no text, content has no value.
avatar
The sender’s image, with the same values as an image from page.image. It has no value until statac refresh fetches it, or if the mention has no image.
Something unclear or wrong? Open an issue.