mmistakes / minimal-mistakes

:triangular_ruler: Jekyll theme for building a personal site, blog, project documentation, or portfolio.
https://mmistakes.github.io/minimal-mistakes/
MIT License
12.42k stars 25.58k forks source link

Shortcut to use font awesome icons in title and contents? #1818

Closed kulbhushanchand closed 6 years ago

kulbhushanchand commented 6 years ago

I searched the documentation, but not able to figure out the shortcut to add font awesome icons to title and in the contents of posts. For example : - Instead of using <i class="fas fa-landmark"></i> , is there any shortcut code like :fa-landmark ?

mmistakes commented 6 years ago

The theme has no such shortcut.

You'll need to install a plugin similar to this https://gist.github.com/23maverick23/8532525

kulbhushanchand commented 6 years ago

@mmistakes Thanks for quick reply.

Plugin looks fine, however I rely on building website from GithubPages and they does not support external plugins. Looks like I have to use <i class="fas fa-landmark"></i>

mmistakes commented 6 years ago

Yeah I get that. Unfortunately that is out of control for the theme. This is more of an addon/plugin than anything the theme can be concerned with. It can probably be done with Jekyll includes which would be supported with GH Pages.

You could also look into Netlify. They will build your Jekyll site similar to GitHub Pages for free and they also support plugins.

kulbhushanchand commented 6 years ago

@mmistakes Thanks for the tip about Netlify. 👍

Thing is there is no all-in-one solution.

I think (for me) its best to avoid decision fatigue. 🤔

PS :- I hope someone can come up with Jekyll includes like you have mentioned. 🙏

mmistakes commented 6 years ago

Closing as this is something that can be added outside of the theme.

If someone builds an include to do this, it woudn't need to be merged in this project and could be its own thing.