ckolderup / postmarks

a single-user bookmarking website designed to live on the Fediverse
https://postmarks.glitch.me
MIT License
452 stars 38 forks source link

fix mastodon verification with this one weird trick #149

Closed ckolderup closed 8 months ago

ckolderup commented 8 months ago

I had a report on Mastodon that verification wasn't working; I looked into it and noticed that since I last saw it working myself that these parentheses had been removed from the main.hbs (reasonable)

@johnholdun do you have some idea why they'd be required? I took a look through the Handlebars documentation and don't really "get it". Something to do with it being a helper function instead of a local var being passed into the render?

johnholdun commented 8 months ago

Oh sheesh, sorry! I would guess that it's related to it being a helper as well, maybe it's not being evaluated otherwise. Oh no sorry oh no lgtm shipit