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

jiathis 显示 #13

Closed
Engineering-Course opened this issue Jul 7, 2016 · 16 comments
Closed

jiathis 显示 #13

Engineering-Course opened this issue Jul 7, 2016 · 16 comments
Assignees

Comments

@Engineering-Course
Copy link

配置了jiathis之后 分享栏在哪里显示?

@stiekel
Copy link
Owner

stiekel commented Jul 7, 2016

会在文章内容页显示在侧边。明天我给你截图演示。

@stiekel stiekel self-assigned this Jul 7, 2016
@stiekel
Copy link
Owner

stiekel commented Jul 8, 2016

刚刚发现,有个 jiaThis 的变量名有问题,已经在 a5b148a 中修正。
配置代码在 _config.yml第34至40行,效果如下:

jiaThis on Random

@Engineering-Course
Copy link
Author

inserted the jiaThis_uid and refined the problem in jiathis.swig. I still can't find jiathis share frame
any other places should I modify?

I inserted the jiaThis_uid like this:
jiaThis_uid: 21***33

@stiekel
Copy link
Owner

stiekel commented Jul 9, 2016

Would you please commit and push your,code to Github?

@Engineering-Course
Copy link
Author

Yes. The code has already been pushed.
Hexo project code
generated blog code

@stiekel
Copy link
Owner

stiekel commented Jul 10, 2016

hi, I clone you code from the repository and run it, and I got the jiaThis run currently.

BTW, the jiaThis only show on post detail page, beside the Table of Content.

jiaThis on Clay's Blog

@stiekel
Copy link
Owner

stiekel commented Jul 11, 2016

@Engineering-Course I checked the code that generated by Hexo of your blog repository, and I found the jiaThis code, like 1, 2, 3.

@Engineering-Course
Copy link
Author

image
I found an error when I checked the sources of the page. Is it the reason for my problem?

@stiekel
Copy link
Owner

stiekel commented Jul 11, 2016

Because you are use https, and load jiaThis script over http. I will fix this issue before tomorrow.

@stiekel
Copy link
Owner

stiekel commented Jul 11, 2016

Bug fixed, please pull commit 0b4edfb .

@Engineering-Course
Copy link
Author

Thank you.
But unfortunately, another error comes out.
image

And I also confused why you could set up my repository and get jiaThis successfully but I always failed.

@stiekel
Copy link
Owner

stiekel commented Jul 12, 2016

The jiaThis script didnot served by https.
you can download the script file to your local folder.

@Engineering-Course
Copy link
Author

But your blog is also based on https, isn't it?

@Engineering-Course
Copy link
Author

So, which jiathis js file should I download, and put them to which folder, please?

@stiekel
Copy link
Owner

stiekel commented Jul 12, 2016

The second url in this image:
error load jiaThis script over https

@stiekel
Copy link
Owner

stiekel commented Jul 12, 2016

My blog was hosted at Coding Pages over http.

@stiekel stiekel closed this as completed Aug 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants