]> BookStack Code Mirror - bookstack/blobdiff - resources/views/base.blade.php
Improve sorting Shelf Books
[bookstack] / resources / views / base.blade.php
index da0e6eb44601fb2104a0410a36b2149a4d87c6be..a5404a36506ae9d70225034a6eeef749eeb86d28 100644 (file)
@@ -1,5 +1,7 @@
 <!DOCTYPE html>
-<html class="@yield('body-class')">
+<html lang="{{ config('app.lang') }}"
+      dir="{{ config('app.rtl') ? 'rtl' : 'ltr' }}"
+      class="{{ setting()->getForCurrentUser('dark-mode-enabled') ? 'dark-mode ' : '' }}@yield('body-class')">
 <head>
     <title>{{ isset($pageTitle) ? $pageTitle . ' | ' : '' }}{{ setting('app-name') }}</title>
 
 
     <!-- Translations for JS -->
     @stack('translations')
-
 </head>
 <body class="@yield('body-class')">
 
     @include('partials.notifications')
     @include('common.header')
 
-    <section id="content" class="block">
+    <div id="content" class="block">
         @yield('content')
-    </section>
+    </div>
 
-    <div back-to-top class="primary-background">
+    <div back-to-top class="primary-background print-hidden">
         <div class="inner">
             @icon('chevron-up') <span>{{ trans('common.back_to_top') }}</span>
         </div>