X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/fff5bbcee458992443e3732fbcbbbe34f765fcc3..refs/pull/360/head:/resources/views/base.blade.php diff --git a/resources/views/base.blade.php b/resources/views/base.blade.php index 1deed0a3f..4287014c2 100644 --- a/resources/views/base.blade.php +++ b/resources/views/base.blade.php @@ -17,14 +17,16 @@ + @yield('head') @include('partials/custom-styles') - - @if(setting('app-custom-head', false)) + @if(setting('app-custom-head') && \Route::currentRouteName() !== 'settings') + {!! setting('app-custom-head') !!} + @endif @@ -53,32 +55,16 @@
- @if(isset($signedIn) && $signedIn) - + @if(signedInUser()) + @include('partials._header-dropdown', ['currentUser' => user()]) @endif
@@ -93,7 +79,7 @@
- Back to top + {{ trans('common.back_to_top') }}
@yield('bottom')