hexo/node_modules/hexo-theme-butterfly/layout/includes/widget/card_top_self.pug

8 lines
246 B
Plaintext

if site.data.widget && site.data.widget.top
each item in site.data.widget.top
.card-widget(class=item.class_name id=item.id_name)
.item-headline
i(class=item.icon)
span=item.name
.item-content
!=item.html