import bootstrap font awseome via less not html

This commit is contained in:
Henry Oswald 2016-07-10 11:10:43 +01:00
parent 85936a1391
commit 94d760e32d
3 changed files with 3 additions and 2 deletions

View file

@ -26,7 +26,7 @@ module.exports = (grunt) ->
run: run:
command:"node app.js | ./node_modules/logger-sharelatex/node_modules/bunyan/bin/bunyan --color" command:"node app.js | ./node_modules/logger-sharelatex/node_modules/bunyan/bin/bunyan --color"
cssmin: cssmin:
command:"node_modules/clean-css/bin/cleancss -o public/stylesheets/style.css public/stylesheets/style.css" command:"node_modules/clean-css/bin/cleancss --s0 -o public/stylesheets/style.css public/stylesheets/style.css"
watch: watch:

View file

@ -19,7 +19,6 @@ html(itemscope, itemtype='http://schema.org/Product')
link(rel="icon", href="/favicon.ico") link(rel="icon", href="/favicon.ico")
link(rel='stylesheet', href='/stylesheets/style.css?fingerprint='+fingerprint('/stylesheets/style.css')) link(rel='stylesheet', href='/stylesheets/style.css?fingerprint='+fingerprint('/stylesheets/style.css'))
link(href="//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css",rel="stylesheet")
if settings.i18n.subdomainLang if settings.i18n.subdomainLang
each subdomainDetails in settings.i18n.subdomainLang each subdomainDetails in settings.i18n.subdomainLang

View file

@ -1,5 +1,7 @@
// Core variables and mixins // Core variables and mixins
@import "core/variables.less"; @import "core/variables.less";
@import url(//netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css);
@import "core/mixins.less"; @import "core/mixins.less";
// Reset // Reset