Hello! Is there a possibility to add custom data to ghost posts? I want to store some npub’s related to nostr, and i cant find any decent place to store this. What are the possibilities?
1 Like
Ghost doesn’t have custom fields.
I don’t know enough about nostr to know what exactly you need here. Where does the npub (which is json, right?) need to go on the Ghost site? How will it be used?
Basically yes, some data of keys to identify the author in the nostr-relays or f.e to zap them crypto currency for their posts.
Currently I’m thinking about the code injection section in the post settings, like setting a parameter in window object like window.nostrData and then pick it up with javascript and continue to work from there.
Yep. Or an html card with javascript inside it within the post body. Either would let you set some variables for js.