Fontawesome Icons Show As Blank Squares


After deploying the Hexo websites to server, all the NexT icons were shown as blank squares.


The NexT theme uses Font Awesome to display icons. If the website is started locally, everything is fine. Another interesting point is that the issue exists in Chrome but not IE.

  1. Stylish plugin in Chrome. I forced all pages use customized fonts by Stylish. Maybe the font does not contain such icons. However, even I disable the plugin, the issue still exists.

  2. The deploy folder does not contain the font files. After checking the website folder on the server, I found that it is not the root cause.

  1. Consider the problem only appears in Chrome, I suspect the font files were not properly loaded. Turn on develop tools with F12 in Chrome and IE. Refresh the page and magic happens:



Chrome and IE loads different font files, while woff/woff2 files were not correctly loaded by Chrome.


Edit _config.yml of Next theme and use CDN to load fontawesome files:

# Internal version: 4.6.2
# See:
# Example:
# fontawesome: //
# fontawesome: //
fontawesome: //

Now everything works fine~


Fontawesome Troubleshooting

Font awesome is not showing icon