fixed handlebars relative part in partial bug

The relative parts were not rendered, so the links didn't work.
Solution on stackoverflow: http://stackoverflow.com/q/9411538/897783