Liquid Tag: webmention_reposts
You can get a complete list of “repost” webmentions for a given page.url
using the following liquid tag:
{% webmention_reposts 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--reposts
- Identifies this as only pertaining to “likes”
webmentions__list
- the list of webmentions (ol
)webmentions__item
- the webmention container (li
)webmention
webmention--repost
webmention__author
- Author of the webmention (div
)p-author
- Citation Microformath-card
- Person Microformat
u-url
- Person Microformat (a
)webmention__author__photo
- Author’s photo (img
)u-photo
- Person Microformat
webmentions__not-found
- The “no results” message shown if no mentions are found (p
)