I want to put Jade variable in tag attribute but it isn't evaluated.
a(href="/logou开发者_开发百科t/#{user.name}")
You could use:
a(href='/logout/'+user.name)
I want to put Jade variable in tag attribute but it isn't evaluated.
a(href="/logou开发者_开发百科t/#{user.name}")
You could use:
a(href='/logout/'+user.name)
精彩评论