I’m learning Ghost and Gatsby to create a blog site. I created a blog post with and HTML section that has embedded Javascript (the HTML is a Shopify 'buy now button). When the post is processed by Gatsby the Javascript is not run. I know this sounds like an issue in Gatsby, but I wanted to ask here in case this is a common error or if another static generator would be a better choice to successfully execute the javascript on the client.
Note if I take the resulting HTML from the Chrome Elements console, save it to a file and open the file in Chrome the javascript runs and is rendered correctly.
What are the best practices for getting Ghost HTML/embedded scripts to render with static generators?
Ghost-CLI version: 1.13.1
Using both Chrome and Safari