Files
Hexo-Butterfly/themes/butterfly/layout/includes/header/social.pug
T
2021-07-05 09:52:30 -07:00

4 lines
194 B
Plaintext

each url, icon in theme.social
a.social-icon(href=url_for(trim(url.split('||')[0])) target="_blank"
title=url.split('||')[1] === undefined ? '' : trim(url.split('||')[1]))
i(class=icon)