angular-cn/public/_includes/_hover-card.jade

13 lines
298 B
Plaintext
Raw Normal View History

- var hasIcon = icon ? 'has-icon' : ''
- var iconNumber = number ? number : ''
a(class="hover-card translated-cn is-button #{hasIcon}" href="#{url}" md-button)
2015-04-22 02:09:13 -04:00
if icon
span(class="hover-card-icon #{icon}") #{iconNumber}
2015-04-21 11:49:15 -04:00
2015-04-22 02:09:13 -04:00
h3 #{name}
2015-04-21 11:44:56 -04:00
if cta
p #{cta}
else
2016-04-09 12:38:38 -04:00
p 查看 #{name} 文档