From 095db36d377fd1dbc5dc7d77f71c79c9f3ebfd34 Mon Sep 17 00:00:00 2001 From: Andrew Hanna Date: Thu, 29 Nov 2012 14:57:10 -0700 Subject: [PATCH] Update docs to show new @fontAwesomePath variable. --- index.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index e16a92149..3d74d4014 100644 --- a/index.html +++ b/index.html @@ -685,15 +685,17 @@
  • Copy font-awesome.less into your bootstrap/less directory.
  • Open bootstrap.less and replace @import "sprites.less"; with @import "font-awesome.less";
  • - Open your project's font-awesome.less and edit the font url to ensure it points to the right place. + Open your project's font-awesome.less and edit the @fontAwesomePath variable to ensure it points to the right place.
    +@fontAwesomePath: '../font';
    +
     @font-face {
       font-family: 'FontAwesome';
    -  src: url('../font/fontawesome-webfont.eot');
    -  src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
    -     url('../font/fontawesome-webfont.woff') format('woff'),
    -     url('../font/fontawesome-webfont.ttf') format('truetype'),
    -     url('../font/fontawesome-webfont.svg#FontAwesome') format('svg');
    +  src: url('@{fontAwesomePath}/fontawesome-webfont.eot');
    +  src: url('@{fontAwesomePath}/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
    +    url('@{fontAwesomePath}/fontawesome-webfont.woff') format('woff'),
    +    url('@{fontAwesomePath}/fontawesome-webfont.ttf') format('truetype'),
    +    url('@{fontAwesomePath}/fontawesome-webfont.svg#FontAwesome') format('svg');
       font-weight: normal;
       font-style: normal;
     }