hexo/node_modules/hexo-theme-butterfly/layout/includes/header/social.pug

4 lines
301 B
Plaintext
Raw Normal View History

2023-09-25 15:58:56 +08:00
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 style=url.split('||')[2] === undefined ? '' : `color: ${trim(url.split('||')[2]).replace(/[\'\"]/g, '')};`)