mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 05:52:02 +08:00
Fix FontAwesome path
This commit is contained in:
parent
e9d319e5ed
commit
0398ae923e
|
@ -7,7 +7,7 @@
|
||||||
// We want to specify the @fa-font-path variable AFTER we import font awesome
|
// We want to specify the @fa-font-path variable AFTER we import font awesome
|
||||||
// so that it overrides the default definition.
|
// so that it overrides the default definition.
|
||||||
@import "@{lib-path}/font-awesome/font-awesome.less";
|
@import "@{lib-path}/font-awesome/font-awesome.less";
|
||||||
@fa-font-path: "/flarum/fonts";
|
@fa-font-path: "/assets/fonts";
|
||||||
|
|
||||||
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700,300);
|
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700,300);
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
// We want to specify the @fa-font-path variable AFTER we import font awesome
|
// We want to specify the @fa-font-path variable AFTER we import font awesome
|
||||||
// so that it overrides the default definition.
|
// so that it overrides the default definition.
|
||||||
@import "@{lib-path}/font-awesome/font-awesome.less";
|
@import "@{lib-path}/font-awesome/font-awesome.less";
|
||||||
@fa-font-path: "/flarum/fonts";
|
@fa-font-path: "/assets/fonts";
|
||||||
|
|
||||||
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700,300);
|
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700,300);
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ class AdminServiceProvider extends ServiceProvider
|
||||||
$this->loadViewsFrom($root.'/views', 'flarum.admin');
|
$this->loadViewsFrom($root.'/views', 'flarum.admin');
|
||||||
|
|
||||||
$this->publishes([
|
$this->publishes([
|
||||||
$root.'/public/fonts' => public_path('flarum/fonts')
|
$root.'/public/fonts' => public_path('assets/fonts')
|
||||||
]);
|
]);
|
||||||
|
|
||||||
include __DIR__.'/routes.php';
|
include __DIR__.'/routes.php';
|
||||||
|
|
|
@ -17,7 +17,7 @@ class ForumServiceProvider extends ServiceProvider
|
||||||
$this->loadViewsFrom($root.'/views', 'flarum.forum');
|
$this->loadViewsFrom($root.'/views', 'flarum.forum');
|
||||||
|
|
||||||
$this->publishes([
|
$this->publishes([
|
||||||
$root.'/public/fonts' => public_path('flarum/fonts')
|
$root.'/public/fonts' => public_path('assets/fonts')
|
||||||
]);
|
]);
|
||||||
|
|
||||||
include __DIR__.'/routes.php';
|
include __DIR__.'/routes.php';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user