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

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



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

Search: