Closed l0b0 closed 1 year ago
I noticed that myself, it's because the attribute isn't url
, it's uri
(if you look at the cached webmention_io_received.yml
you can see that for yourself, that's where all those elements are pulled). The template is just broken!
OK, I might just disable webmentions for now - it takes ages to collect them, and the output is less than ideal:
So naturally the native rendering without styling is going to look a bit silly, as the output HTML is designed to be styled. If you check out this page on my site:
https://b-ark.ca/2023/09/25/yanagi-socks.html
You can see how I've formatted things.
First, I used the type-specific webmention tags to group things up rather than spitting out a flat list of every webmention in chronological order (I'll be honest, I don't actually think the webmentions
tag is particularly useful as I doubt anyone really wants that).
So instead of just {{ webmentions page.url }}
I'm using {{ webmention_likes page.url }}
and doing the same for each of the webmention types I care to render (right now I'm showing likes and posts), so that each type is grouped together into their own lists.
Then I've used CSS to format those lists into facepiles and so forth.
I've also customized the templates a bit including, yes, fixing the issue you've identified here (though I've pushed a changeset to, among other things, incorporate the fix into the stock templates).
I don't quite understand how this is possible. The template code is
The response from `https://webmention.io/api/mentions.jf2?target=https://paperless.blog/nix-shell-template' is
This should result in a page with a "Permalink" URL for both entries, but instead the resulting HTML is
Why do neither of the
webmention__meta
divs have permalinks?