Liquid Tag: webmention_likes
You can get a complete list of “like” webmentions for a given page.url
using the following liquid tag:
{% webmention_likes 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--likes
- Identifies this as only pertaining to “likes”
webmentions__list
- the list of webmentions (ol
)webmentions__item
- the webmention container (li
)webmention
webmention--like
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
)