Make sticky blog post - Casper

Hello all,

I am using the Casper theme and I would like a sticky post in the blog for an introduction of what the blog will feature. I’ve seen that .hbs files can be used for this but where are they stored? I am using PikaPods and accessing the files via SFTP.

Thanks,
Nick.

EDIT: are these the ones?

Yes. But Casper and source are symlinks. If you want to change one of them, download the theme folder and then upload it. (You can do this all from the ghost admin, or with sftp. You’ll probably have to restart if using sftp.). Otherwise, when ghost updates, you’ll lose changes to those two default themes, as they live in the ghost core.

Hello Cathy,

Thank you for this. I tried to download the ‘themes’ directory using SFTP (FileZilla) but it only downloads dope and solo.

Also, if I export from Ghost, I get a .json file.

SFTP in a terminal gives me this:

sftp> cd themes/
sftp> ls
casper  dope    solo    source  
sftp> cd casper 
realpath /content/themes/casper: No such file

Thanks,
Nick.

Right. Casper is a symlink. Sorry, “download the theme folder” was unclear, wasn’t it. To download a theme, go to your ghost dashboard, click settings (gear icon), click design & branding > customize. Then click the theme name in the bottom right corner, then installed themes (top), then the … menu has a download link.

(Phew. That’s a lot!)

Ah, thank you, Cathy.

I’ll do that next and see if I can edit the files. How would I upload the edited files, please?

Thanks,
Nick.

EDIT: Ah! “Upload Theme?” :slight_smile:

Thanks so much, Cathy. All done now and I have my sticky blog post! Great!

All the best,
Nick.

2 Likes