add theme
This commit is contained in:
9
themes/butterfly/layout/includes/third-party/share/index.pug
vendored
Normal file
9
themes/butterfly/layout/includes/third-party/share/index.pug
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
- const { use } = theme.share
|
||||
|
||||
if use
|
||||
.post-share
|
||||
case use
|
||||
when 'addtoany'
|
||||
!=partial('includes/third-party/share/addtoany', {}, {cache: true})
|
||||
when 'sharejs'
|
||||
include ./share-js.pug
|
||||
Reference in New Issue
Block a user