Hey there! Uploading files such as HTML files can be done in several ways. I found a post by @vikaspotluri123 who explains the options you have very well:
(recommended) upload whatever files you want to the assets
folder of your theme. Upload your theme and navigate to https://your.blog/assets/file.html
Configure your webserver to serve content from a folder (such as /var/www/ghost/content/html
) for html files. This is just one of the many configuration options you can use on your webserver, and if you’re just trying to get your site running w/o too much care for configuration, this can be a colossal pain, which is why option 1 is strongly recommended
Serve from some other domain. This doesn’t exactly answer your question, but its kind of the perfect medley of option 1 and 2 and makes life super easy
You can then use the custom HTML card and add an iframe:
<iframe src="https://your.blog/assets/file.html"></iframe>
Hope this helps!
1 Like