Add social config style

This commit is contained in:
JamesYao committed 2023-03-30 17:11:59 +08:00
1 parent 8199e25215
commit 841fbb0c5e
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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)
i(class=icon style=url_for(trim(url.split('||')[2]) === undefined ? '' : trim(url.split('||')[2])))