Haojen / hexo-theme-Anisina

:art: A simple responsive, support qiniu image cdn theme for hexo https://haojen.github.io/
Apache License 2.0
765 stars 155 forks source link

social link is not working #19

Closed scotthou94 closed 8 years ago

scotthou94 commented 8 years ago

I followed the guide your provided:

    SNS settings
    github_username: scotthou94     # modify this account to yours

But nothing happened, no github link is displayed in the sidebar. should I provide the full address of my github account?

Haojen commented 8 years ago

@scotthou94 when you change _config file , after you must run this command in your terminal hexo clean && hexo g

scotthou94 commented 8 years ago

@Haojen I tried to run the hexo clean hexo g but it still doesnt work. I basiclly copied the_configfile in your repository into my own sites _config, is there something else I should do to make things work besides setting the github_username?

unnamed42 commented 8 years ago

You need to import font-awesome.min.css in https protocol.

scotthou94 commented 8 years ago

@unnamed42 I assume the font-awesome.min.css should go into the themes layout? care to elaborate a little? Im not quite clear what to do.

unnamed42 commented 8 years ago

@scotthou94 it's located in THEME_FOLDER/layout/_partial/head.ejs, line 33. Just add a single s to its url.

winston-wen commented 8 years ago

@unnamed42 Thanks for your advise. I've just encountered a same issue as @scotthou94 .

scotthou94 commented 8 years ago

@unnamed42 thanks in advance, I changed the protocol to https and run the hexo clean and hexo d -g command but still no github link appeared on the sidebar. I`m not sure what went wrong. @DavaiZa did changing the protocol solve your problem?

winston-wen commented 8 years ago

@scotthou94 Yes, it worked on my blog https://davaiza.github.io

unnamed42 commented 8 years ago

@scotthou94 I visited your site, and font-awesome.min.css is still unavailable. Maybe you should try https://cdn.bootcss.com/font-awesome/4.6.3/css/font-awesome.min.css or something else instead. The original cdn does not seem to support https.

Haojen commented 8 years ago

@scotthou94 , this issue will fix on next version , come soon ~

Haojen commented 8 years ago

@scotthou94 this issue is have fix it~

scotthou94 commented 8 years ago

@Haojen could you tell me what I should do to fix the problem? start over again or just make some change on the .css

Haojen commented 8 years ago

@scotthou94 can i speak chinese ?

scotthou94 commented 8 years ago

@Haojen 当然当然

Haojen commented 8 years ago

现在具体什么问题?

scotthou94 commented 8 years ago

@Haojen 社交链接的图标没有显示,你可以去我的网站看一下,图片暂时没上传。 我根据教程在站点的配置文件里配置了github_username: scotthou94,和twitter的账号,但是并没有图标出现。 更改了http协议至https协议也没有使图标出现。 现在不清楚是什么问题。感谢解答。

Haojen commented 8 years ago

@scotthou94 刚才看了你的网站, 问题和主题无关, 是你的图片路径配置错了

社交链接不显示, 这个问题我在下个版本已经修复了, 这周末应该会发布新版本, 还请耐心 : )

scotthou94 commented 8 years ago

@Haojen 不知道我现在应该怎么修改才能使社交链接显示呢

Haojen commented 8 years ago

@scotthou94 直接重新克隆新主题到本地就可以了

scotthou94 commented 8 years ago

@Haojen 解决了,谢谢