Skip to content

Instantly share code, notes, and snippets.

@avivkiss
Forked from danielres/README.markdown
Last active December 14, 2015 11:09
Show Gist options
  • Save avivkiss/5077581 to your computer and use it in GitHub Desktop.
Save avivkiss/5077581 to your computer and use it in GitHub Desktop.
Instructions for using Font Awesome with Octopress.
External link icon:
<i class="icon-external-link"></i>
Comment icon:
<i class="icon-comment"></i>

Edit: Apparently the sass file was removed from the latest versions of Font-Awesome... You can still download the sass file from GitHub here

  1. Download Font Awesome source
  2. Take the file sass/font-awesome.sass and put it in your octopress sass folder
  3. Rename it to _font-awesome.sass
  4. Create a directory 'octopress/source/font' and put the 4 font files there (ttf, svg, eot and woff).
  5. In your stylesheet (sass/screen.scss):
  • @import font-awesome

Done !

@import font-awesome
@avivkiss
Copy link
Author

Sorry, wasn't checking this for comments... I updated the instructions to clarify those issues... I was neck deep in octopress at the time and it seemed obvious which style sheet... Not sure why I changed the name to font, shouldn't matter as long as you change everything else to fonts, at the time it was easier to just rename the folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment