Elektrine lite

← Feed

@bsag@social.lol

Post #4323246

2026-08-01 18:16 UTC

Ever have one of those days where you just can't figure out a bit of code that should be simple? I'm trying to put together a big `` template in an #11ty nunjucks shortcode. I have an external image store and optimiser, and so I just want to pass the filename so that I can piece together the correct query url to resize/optimise the image. Can I get that to work? Can I bobbins! It seems to be trying to insert an object rather than interpreting the filename as a plain string to insert into another string. Any help given might stop me exploding with frustration. I expect that I am doing something dumb.

Replies (0)

No replies.