Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

再问一下,文章分享是有开关设置的吗? #46

Closed
cjj0596 opened this issue Feb 26, 2018 · 5 comments
Closed

再问一下,文章分享是有开关设置的吗? #46

cjj0596 opened this issue Feb 26, 2018 · 5 comments
Labels

Comments

@cjj0596
Copy link

cjj0596 commented Feb 26, 2018

不好意思还有一个小问题,就是文章分享的功能貌似不能像demo那样显示一些分享渠道出来

</div>
--
  |  
  | <script>window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "2", "bdMiniList": false, "bdPic": "", "bdStyle": "1", "bdSize": "16" }, "share": {} }; with (document) 0[(getElementsByTagName('head')[0] \|\| body).appendChild(createElement('script')).src = "/static/api/js/share.js"];</script>
  | <div class="post-intro-meta">
  | <span class="post-intro-calander iconfont-archer">&#xe676;</span>
  | <span class="post-intro-time">2018/02/23</span>
  |  
  | <span id="busuanzi_container_page_pv" class="busuanzi-pv">
  | <span class="iconfont-archer">&#xe604;</span>
  | <span id="busuanzi_value_page_pv"></span>
  | </span>
  |  
  | <span class="shareWrapper">
  | <span class="iconfont-archer shareIcon">
  | &#xe601;
  | </span>
  | <span class="bdsharebuttonbox">
  | <a href="#" class="bds_more shareText" data-cmd="more">Share</a>
  | </span>
  | </span>
  | </div>
  |  
  | </div>
  | </div>

网页源码是这样的,配置文件好像也没有什么设置,找过issue也是改了bug,但是我好像第一次部署也没发现这个功能可以用

@fi3ework
Copy link
Owner

fi3ework commented Feb 26, 2018

你是不是上了https呀,开下控制台看下,是不是和这个issue问题一样,如果是的话就再稍微等几天,我准备把分享自己重写,不用百度分享了 - -

@cjj0596
Copy link
Author

cjj0596 commented Feb 26, 2018

好的,那就等大佬重写,是用https的,因为我是蹭了github的免费域名。

话说我想问一下大佬,就是我现在弄了一些图片头像啥的,还有自己改好的配置文件,那么如果你这边更新一些代码的话,我需要把我自定义的东西拷出来,删了整个文件夹再重新安装这样么?还是说有简单办法来更新,但是不会覆盖我的自定义文件?

@fi3ework
Copy link
Owner

一般来说你在archer目录直接pull就可以到最新版。
但是如果我改了默认的_config.yml的话,git可能会出现合并冲突,到时候会提示你解决冲突,你就手动解决一下冲突,保留你的改动。

@cjj0596
Copy link
Author

cjj0596 commented Feb 26, 2018

好的感谢,坐等大佬更新。

@cjj0596 cjj0596 closed this as completed Feb 26, 2018
@fi3ework fi3ework added the bug label Feb 27, 2018
@fi3ework
Copy link
Owner

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants