What would really make this sick, @manton, would be letting me drop a hint to your cross-post parser (perhaps via data attribute tag with a URL value) that when cross-posting the cardify-card div should be replaced with a simple link so that other platforms generate their own preview cards in its place.

Jason Cardwell

@Moondeer Actually, I could probably accomplish this with some Javascript that looked for links to posts and replaced them with cards.

Manton Reece

@Moondeer That's impressive! Thanks for sharing.

Jason Cardwell

@manton Thanks, I just moved it over to plugin-cards. It should work as opt-in via additon of the ?cardify query … I have it generating cards via hostname matching but the CSS selectors I use would likely need to be retrofitted for other themes (stuff like main .post-body a[hostname match]:not(.read-more)

Jason Cardwell

@Moondeer actually, I'll just slap up some more plugin parameters since I'm building the Javascript and CSS through Hugo pipes anyway