mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
import bootstrap font awseome via less not html
This commit is contained in:
parent
85936a1391
commit
94d760e32d
3 changed files with 3 additions and 2 deletions
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue