huxblog-boilerplate icon indicating copy to clipboard operation
huxblog-boilerplate copied to clipboard

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

Open Lanzhou-J opened this issue 3 years ago • 1 comments

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 avatar Mar 20 '21 12:03 Lanzhou-J

相关问题:链接可以显示但图标无法正常显示 原因: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">

Lanzhou-J avatar Mar 20 '21 12:03 Lanzhou-J