mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-12 14:07:06 +08:00
first commit
This commit is contained in:
4
layout/includes/share/share-js.pug
Normal file
4
layout/includes/share/share-js.pug
Normal file
@@ -0,0 +1,4 @@
|
||||
if (theme.sharejs && theme.sharejs.enable)
|
||||
.social-share(data-image= page.cover|| theme.avatar data-sites= theme.sharejs.sites)
|
||||
link(rel="stylesheet" href="https://cdn.jsdelivr.net/npm/social-share.js@1.0.16/dist/css/share.min.css")
|
||||
script(src="https://cdn.jsdelivr.net/npm/social-share.js@1.0.16/dist/js/social-share.min.js")
|
||||
Reference in New Issue
Block a user