私はそのような翡翠のスニペットを持っています:
div.comment_list
- var clist = comment_list
each comment in clist
div.comment
div.comment_detail
span.commentator comment.commentator
span.comment_time comment.comment_time
span.comment_content comment.comment_content
はcomment_list
、私が jade テンプレートに渡すものです。
問題は次のとおりです。各配列要素comment
は複合オブジェクトで構成されており、ご覧のとおりcommentator
、 、comment_time
、およびcomment_content
.
しかし、jade はこの事実を認識できず、単に : comment.commentator
comment.comment_time
, comment.comment_content
vebatim を出力しました。
では、これに取り組む方法は?