]> BookStack Code Mirror - bookstack/blobdiff - resources/views/base.blade.php
Updated JS translations to be inserted from back-end
[bookstack] / resources / views / base.blade.php
index 367a2cd8b9ba69536d985dc85cbf1a14681c7395..f5459a717b13e36e72c77966ac3be5aff2ef68d2 100644 (file)
     <link rel="stylesheet" href="{{ versioned_asset('dist/styles.css') }}">
     <link rel="stylesheet" media="print" href="{{ versioned_asset('dist/print-styles.css') }}">
 
-    <!-- Scripts -->
-    <script src="{{ baseUrl('/translations') }}"></script>
-
     @yield('head')
+
+    <!-- Custom Styles & Head Content -->
     @include('partials.custom-styles')
     @include('partials.custom-head')
 
     @stack('head')
+
+    <!-- Translations for JS -->
+    @stack('translations')
+
 </head>
 <body class="@yield('body-class')">