开发者

jade nesting and nodejs

I'm trying to find a better way to express this in jade:


    p.author.alignleft 
      | Posted by 
      | admin 
      | in
      | Uncateg开发者_高级运维orized

The above works, but i'm wondering if there is a way to do it without using the tags. I can't seem to make it work any other way than what is above. NB, the word "admin" and "uncategorized" are actually a href's. I gave up trying to get it to display right in this question.


p.author.alignleft Posted by
  a(href:'#') admin
  | in
  a(href:'#') Uncategorized
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜