Skip to content

Commit

Permalink
use CDN for font-awesome
Browse files Browse the repository at this point in the history
  • Loading branch information
Baptiste Meurant committed Jan 13, 2014
1 parent 6037b5a commit 7a065c4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
5 changes: 0 additions & 5 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ grunt.initConfig({
files: [
{expand: true, cwd: 'bower_components/bootstrap/dist/js/', src: ['bootstrap.min.js'], dest: 'assets/javascript/'}
]
},
fontAwesome: {
files: [
{expand: true, cwd: 'bower_components/font-awesome/css/', src: ['font-awesome.min.css'], dest: 'assets/stylesheets/css/'}
]
}
},
watch: {
Expand Down
3 changes: 3 additions & 0 deletions _includes/top.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
<!-- Custom CSS -->
<link rel="stylesheet" href="/assets/stylesheets/css/main.css">

<!-- Font Awesome CSS -->
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">

<!-- Latest compiled and minified JavaScript -->
<script src="/assets/javascript/jquery.min.js"></script>
<script src="/assets/javascript/bootstrap.min.js"></script>
Expand Down
1 change: 0 additions & 1 deletion assets/stylesheets/less/main.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import "/bower_components/bootstrap/less/bootstrap.less";
@import "/bower_components/font-awesome/less/font-awesome.less";

@resthub-brown-color: #34302d;
@resthub-orange-color: #d4571e;
Expand Down
3 changes: 1 addition & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"tests"
],
"dependencies": {
"bootstrap": "~3.0.3",
"font-awesome": "~4.0.3"
"bootstrap": "~3.0.3"
}
}

0 comments on commit 7a065c4

Please sign in to comment.