6 Commits

Author SHA1 Message Date
alsotang
1f0954c057 reformat html indent width to 2 2014-08-29 12:19:27 +08:00
alsotang
7e030b5d9f reformat 所有代码 2014-08-12 20:10:50 +08:00
Raven WANG
376925338c 修正无法通过 if (locals.variable) 判定 variable 是否存在的问题
由于partial早在Express 3.x已经是被抛弃的特性,几个middleware包括这里使用的ejs-locals已经无人维护,不建议继续使用
而ejs-locals对于locals对象的处理有问题,有时候不能使用 if (locals.variable) 来判定variable是否存在,只能使用 if (typeof(variable) !== 'undefined')
2014-05-07 14:33:55 +08:00
Raven WANG
e4048e9042 解决Express 3以后模板不再支持partial的问题 2014-05-07 14:33:44 +08:00
fengmk2
270653216b add sidebar 2012-03-04 02:56:01 +08:00
muyuan
e524b2f9b5 project init 2012-02-15 21:17:16 +08:00