]> BookStack Code Mirror - bookstack/blobdiff - resources/views/base.blade.php
Merge branch 'footer-links' of git://github.com/james-geiger/BookStack into james...
[bookstack] / resources / views / base.blade.php
index da0e6eb44601fb2104a0410a36b2149a4d87c6be..29e4acee7bf8355f7bbda9b17f240e1483cf001f 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>
+
+    @include('common.footer')
 
-    <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>