What a nice bookmark you got there. You could remove the offending HTML with Hugo’s
replaceRE
: replaceRE "<p class=\"post_archived_links\">.+</p>" ""
. Merged with the previous example:
{{ $bookmarks := getJSON "https://micro.blog/feeds/yourname/bookmarks/decc3dfad46628dc2cac.json" }}
{{ range $bookmarks.items }}
{{ if not .title }}
<div class="h-entry">
<a class="u-bookmark-of h-cite" href="{{ .url }}">
<p>{{ .content_html | replaceRE "<p class=\"post_archived_links\">.+</p>" "" | plainify | truncate 140 }}</p>
</a>
</div>
{{ end }}
{{ end }}