Skip to content

Instantly share code, notes, and snippets.

@danielres
Created July 22, 2012 00:19
Show Gist options
  • Save danielres/3157685 to your computer and use it in GitHub Desktop.
Save danielres/3157685 to your computer and use it in GitHub Desktop.
Using Font Awesome with Octopress
  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 'octpress/source/fonts' and put there the 4 font files (ttf, svg, eot and woff).
  5. In your stylesheet:
  • $fontAwesomePath: "fontawesome-webfont"
  • @import font-awesome

Done !

External link icon:
<i class="icon-external-link"></i>
Comment icon:
<i class="icon-comment"></i>
$fontAwesomePath: "fontawesome-webfont"
@import font-awesome
@avivkiss
Copy link

avivkiss commented Mar 3, 2013

This did not work for me, I have posted what did here: https://gist.github.com/avivkiss/5077581

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