Statac

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.

Read more

reactions

The page’s likes and reposts, oldest first. Empty if there are none.

Read more

kind

What the mention is: replied, liked, reposted, bookmarked or mentioned.

Read more

url

The URL of the sender’s page that mentions this one.

Read more

author

Who sent the mention. If the mention doesn’t say, author has no value.

Read more

author_url

The URL of the sender’s own page. If the mention doesn’t say, author_url has no value.

Read more

published

When the mention was published, as a date. If the mention doesn’t say, published has no value.

Read more

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.

Read more

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.

Read more

Something unclear or wrong? Open an issue.