Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hey ... I've been playing with Ghost now for a few hours and wondering if you've gotten any new templates set up, or have tips for template tweaking? I'm a newcomer to bourbon and sass ..


yea ive made a few templates

i recommend just copything the casper folder and renaming it. (content/themes/casper)

make your own stylesheet and comment theirs out (it, styles, everything). theirs is screen.css.

you can comment out the ghost included {{body_class}} and {{ghost_foot}} by changing them to {{!body_class}} and {{!ghost_foot}}

after that its just 3 files, default.hbs which is a global template (so its like the html head body tags), and then they insert the body at {{body}}

the body comes from index.hbs or post.hbs, which will be index.hbs: 6 article summaries in a list with a page at the bottom. and post.hbs which will just show 1 post.

the data in the post and index hbs files (handlebars templates) has stuff like {{eachpost}} {{post}} which is all you really have to keep out of those files




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: