ppoffice / hexo-theme-minos

A simple and retro styled Hexo theme, concentrated more on your ideas.
http://ppoffice.github.io/hexo-theme-minos
MIT License
765 stars 202 forks source link

Font Awesome Icons Issue #69

Closed asirzhao closed 5 years ago

asirzhao commented 5 years ago

When I use Icons which name with a hyphen, the icon cannot be shown. For example, when I use user-times(https://fontawesome.com/icons/user-times?style=solid), the icon cannot be loaded correctly.

ppoffice commented 5 years ago

@JoeAsir Could you please post your _config.yml here? Thanks.

asirzhao commented 5 years ago

@JoeAsir Could you please post your _config.yml here? Thanks.

The icon user-ninja couldn't be present, and here is my _config.yml https://github.com/JoeAsir/hexo-theme-minos/blob/master/_config.yml

ppoffice commented 5 years ago

@JoeAsir user-ninja was release with FontAwesome 5.0.11 while this theme uses 5.0.8. You can fix this by bumping the version number in this file. https://github.com/ppoffice/hexo-theme-minos/blob/master/layout/common/head.ejs#L45

asirzhao commented 5 years ago

@ppoffice Thanks! It really works. By the way, I have another question, how to add the table of contents as shown on the navigation bar in the Documents, I have no idea after going through the whole Documents.

ppoffice commented 5 years ago

@JoeAsir Add toc: true to the front-matter of your post.

https://raw.githubusercontent.com/ppoffice/hexo-theme-minos/site/source/_posts/Configuring-Minos.md

asirzhao commented 5 years ago

Thanks a lot! It's really nice of you helping me solve the problem! ps. Minos is pretty awesome!