Asset::add cannot be used with {{}}
This commit is contained in:
parent
d376c79fad
commit
d9896fbe93
@ -14,10 +14,12 @@
|
|||||||
--}}
|
--}}
|
||||||
|
|
||||||
<!-- Theme style -->
|
<!-- Theme style -->
|
||||||
{{ Asset::add('components-css','/css/components.css') }}
|
@php
|
||||||
{{ Asset::add('style-css','/css/style.css') }}
|
Asset::add('components-css','/css/components.css');
|
||||||
{{ Asset::add('style-responsive-css','/css/style-responsive.css') }}
|
Asset::add('style-css','/css/style.css');
|
||||||
{{ Asset::add('theme-blue-css','/css/themes/blue.css') }}
|
Asset::add('style-responsive-css','/css/style-responsive.css');
|
||||||
|
Asset::add('theme-blue-css','/css/themes/blue.css');
|
||||||
|
@endphp
|
||||||
|
|
||||||
<!-- Google Font: Source Sans Pro -->
|
<!-- Google Font: Source Sans Pro -->
|
||||||
<link href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|PT+Sans+Narrow|Source+Sans+Pro:200,300,400,600,700,900&subset=all" rel="stylesheet" type="text/css">
|
<link href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|PT+Sans+Narrow|Source+Sans+Pro:200,300,400,600,700,900&subset=all" rel="stylesheet" type="text/css">
|
||||||
@ -32,7 +34,7 @@
|
|||||||
<link rel="shortcut icon" href="{{ object_get($site,'favicon','favicon.ico') }}" />
|
<link rel="shortcut icon" href="{{ object_get($site,'favicon','favicon.ico') }}" />
|
||||||
|
|
||||||
<!-- Custom CSS -->
|
<!-- Custom CSS -->
|
||||||
{{ Asset::add('custom-css','/css/custom.css') }}
|
@php(Asset::add('custom-css','/css/custom.css'))
|
||||||
|
|
||||||
<!-- STYLESHEETS -->
|
<!-- STYLESHEETS -->
|
||||||
{!! Asset::styles() !!}
|
{!! Asset::styles() !!}
|
||||||
|
Loading…
Reference in New Issue
Block a user