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