Dan Brown

Added custom head content into public pages

Closes #211
...@@ -9,6 +9,7 @@ return [ ...@@ -9,6 +9,7 @@ return [
9 'app-editor' => 'wysiwyg', 9 'app-editor' => 'wysiwyg',
10 'app-color' => '#0288D1', 10 'app-color' => '#0288D1',
11 'app-color-light' => 'rgba(21, 101, 192, 0.15)', 11 'app-color-light' => 'rgba(21, 101, 192, 0.15)',
12 + 'app-custom-head' => false,
12 'registration-enabled' => false, 13 'registration-enabled' => false,
13 14
14 ]; 15 ];
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
23 @include('partials/custom-styles') 23 @include('partials/custom-styles')
24 24
25 <!-- Custom user content --> 25 <!-- Custom user content -->
26 - @if(setting('app-custom-head', false)) 26 + @if(setting('app-custom-head'))
27 {!! setting('app-custom-head') !!} 27 {!! setting('app-custom-head') !!}
28 @endif 28 @endif
29 </head> 29 </head>
......
...@@ -17,6 +17,11 @@ ...@@ -17,6 +17,11 @@
17 <!-- Scripts --> 17 <!-- Scripts -->
18 <script src="{{ baseUrl("/libs/jquery/jquery.min.js?version=2.1.4") }}"></script> 18 <script src="{{ baseUrl("/libs/jquery/jquery.min.js?version=2.1.4") }}"></script>
19 @include('partials/custom-styles') 19 @include('partials/custom-styles')
20 +
21 + <!-- Custom user content -->
22 + @if(setting('app-custom-head'))
23 + {!! setting('app-custom-head') !!}
24 + @endif
20 </head> 25 </head>
21 <body class="@yield('body-class')" ng-app="bookStack"> 26 <body class="@yield('body-class')" ng-app="bookStack">
22 27
......