Liquid Tag: webmention_replies
You can get a complete list of “reply” webmentions for a given page.url
using the following liquid tag:
{% webmention_replies page.url %}
The webmentions found, if any, will be piped into the webmentions template your specified in your configuration or the default one that ships with this gem.
Default template info
If you go with the default template, here’s a rundown of elements and class
names in use in the template:
webmentions
- overall container (div
)webmentions--replies
- Identifies this as only pertaining to “replies”
webmentions__list
- the list of webmentions (ol
)webmentions__item
- the webmention container (li
)webmention
webmention--reply
webmention__meta
- The webmention’s meta information container (div
)webmention__author
- Author of the webmention (a
)h-card
- Person Microformatu-url
- Person Microformat (a
)
webmention__author__photo
- Author’s photo (img
)u-photo
- Person Microformat
p-name
- Author’s name (b
)webmention__source
- The webmention permalink (a
)u-url
- Citation Microformat
webmention__pubdate
- The publication date (time
)dt-published
- Citation Microformat
webmentions__not-found
- The “no results” message shown if no mentions are found (p
)