mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-04 06:22:00 +08:00
feat: add social icon color config
This commit is contained in:
1 parent
841fbb0c5e
commit
47214b5a7c
2 files changed
+4
-4
No files matched your search
@@ -1,4 +1,4 @@
|
||||
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_for(trim(url.split('||')[2]) === undefined ? '' : trim(url.split('||')[2])))
|
||||
i(class=icon style=url.split('||')[2] === undefined ? '' : `color: ${trim(url.split('||')[2]).replace(/[\'\"]/g, '')};`)
|
||||
Reference in new issue
Block a user