patrickbrosset,
@patrickbrosset@mas.to avatar

Hey eleventy fans, I need help!

I have a collection of blog posts as markdown, which get rendered to html using eleventy.

Now, when I link from one post to another, I want to intercept this at build time, and transform the link to a mini-preview of the target post.

Is there something I can use in my .eleventy.js config file to access the target post's HTML content, in order to extract a title, some text, and an image or something?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • 11ty
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines