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

Social media icons are not able to display when deployed using Github pages #32

Open
Lanzhou-J opened this issue Mar 20, 2021 · 1 comment

Comments

@Lanzhou-J
Copy link

Issue description: After changing SNS settings in _config.yml file, RSS, Twitter, Zhihu, Weibo, Facebook, and Github icons (on both footer and sidebar) do not display when deployed using Github pages.
Example:
Footer error icons:
Footer_error_icons
Sidebar error icons:
Sidebar_error_icons

However, icons are displayed nicely when using bundle exec jekyll serve locally
Example:
Footer correct icons:
Footer_correct_icons
Sidebar correct icons:
Sidebar_correct_icons

@Lanzhou-J
Copy link
Author

相关问题:链接可以显示但图标无法正常显示
原因:font-awesome链接不可用
解决方法:
将相关文件里(head.html)的:
<link href="http://cdn.staticfile.org/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
全部更换为:
<link href="https://cdn.staticfile.org/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">

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

No branches or pull requests

1 participant