diff --git a/less/lib/lib.less b/less/lib/lib.less index b942aa28d..45396ecd3 100755 --- a/less/lib/lib.less +++ b/less/lib/lib.less @@ -1,5 +1,3 @@ -@import url(//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700,600); - @import "font-awesome.less"; @fa-font-path: "../../assets/fonts"; diff --git a/src/Http/Controller/ClientView.php b/src/Http/Controller/ClientView.php index b5f786b1c..97554de88 100644 --- a/src/Http/Controller/ClientView.php +++ b/src/Http/Controller/ClientView.php @@ -127,6 +127,8 @@ class ClientView implements Renderable $this->assets = $assets; $this->layout = $layout; $this->localeJs = $localeJs; + + $this->addHeadString('', 'font'); } /** @@ -164,9 +166,13 @@ class ClientView implements Renderable * * @param string $string */ - public function addHeadString($string) + public function addHeadString($string, $name = null) { - $this->headStrings[] = $string; + if ($name) { + $this->headStrings[$name] = $string; + } else { + $this->headStrings[] = $string; + } } /**