Where can I find the HTML file for each post?

Hi all! I am trying to find where the HTML files for each post is located. I am trying to add something to a post but I can’t seem to find the specific folder where its HTML file can be found. I am using an SFTP software to do this. Thanks in advance!

Ghost generates the html for posts on the fly based on the current active theme. You should first go through Ghost Handlebars Themes - Building a custom Ghost theme - Docs, but after that, you’ll probably want to modify the post template

1 Like

I’m probably too new to be able to do any of that. However, I’ll still take my chances and ask maybe you’d know how I could add the property target=“_blank” to an image? So that when it gets clicked, it opens on another tab? Thanks so much!

Your best bet for that is probably code injection :slight_smile:

1 Like

Thanks so much for the quick replies!