Answer the question
In order to leave comments, you need to log in
Question about migrating from Jade template engine to Handlebars (Derby.js)
With the increasing complexity and features of the project, I decided to switch to Derby.js. To do this, you need to rewrite the templates from Jade (conveniently, IMHO) to the Handlebars dialect. The first difficulties:
There is a common template for all pages (view.jade):
head
title MySiteName
block head
body
h1 SiteLogo
block content
block footer
extends view
block head
style(src='/css/common.css')
block content
h1 IndexPage!!!
block footer
h1 Author noname
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question