[x] And yes, I already searched for current issues and this did not help me.
Stun Information
Stun Version: 2.0.0-rc.0 (2020-03-31)
Hexo Version: downloaded on 2020-05-01(Maybe the lasted version)
Platform: Windows 10
Browser: Chrome
Expected behaviour
Every sharing image don't show up.
Actual behaviour
The layout._partials.widgets.share.pug doesn't show up in expected .
And the stun's_config.yml has been setted in the rigth way.
# The widget of post.
post_widget:
# Whether to show tags at the bottom of post.
tags: true
# Whether to show "------ END ------" at the bottom of post.
end_text:
enable: true
# Whether to show a horizon line before "------ END ------".
horizon_line: false
# Article sharing
share:
enable: true
# The text displayed before the share button.
label: "Share to: "
# Optional values: qzone | qq | weibo | wechat | douban | linkedin | facebook | twitter | google
target: qzone, qq, weibo, wechat, douban, linkedin, facebook, twitter, google
Steps to reproduce the behaviour
Feature Request
Would you help to solve this problem ? It has troubling me for few days. I even also try to read to source code and change the stun.layout._partials_widgets.share.pug. The details as follow.
if true
div.post-share
if true
div.social-share(data-sites=`${socialShare.target}`)
= socialShareLabel
But nothing happen.
My blog site : motongxue.gitee.io
Could you please help for me ? Thank you!
@Motongxue
The problem is caused by enabling the pjax.
The sharing function depends on share.js, which is not compatible with pjax. But share.js is no longer maintained, so I plan to fork and modify share.js to solve this problem.
Please look forward to good news. 💪
I want to create a new issue
Stun Information
Stun Version: 2.0.0-rc.0 (2020-03-31)
Hexo Version: downloaded on 2020-05-01(Maybe the lasted version)
Platform: Windows 10
Browser: Chrome
Expected behaviour
Every sharing image don't show up.
Actual behaviour
The layout._partials.widgets.share.pug doesn't show up in expected . And the stun's
_config.yml
has been setted in the rigth way.Steps to reproduce the behaviour
Feature Request
Would you help to solve this problem ? It has troubling me for few days. I even also try to read to source code and change the stun.layout._partials_widgets.share.pug. The details as follow.
But nothing happen. My blog site : motongxue.gitee.io Could you please help for me ? Thank you!