page.blade.php 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <!DOCTYPE html>
  2. <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
  3. <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
  4. <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
  5. <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
  6. <head>
  7. <meta charset="utf-8">
  8. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  9. <title>@yield('title') </title>
  10. <meta name="viewport" content="width=device-width, initial-scale=1">
  11. <meta name="description" content="@yield('description')" />
  12. <meta name="keywords" content="@yield('keywords')" />
  13. <meta name="author" content="Moell" />
  14. <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
  15. <link rel="shortcut icon" href="{{ asset('favicon.ico') }}">
  16. <!-- Animate.css -->
  17. <link rel="stylesheet" href="{{ asset('default/css/animate.css') }}">
  18. <!-- Bootstrap -->
  19. <link rel="stylesheet" href="{{ asset('default/css/bootstrap.min.css') }}">
  20. @yield('style')
  21. <link rel="stylesheet" href="{{ asset('default/css/index.css') }}">
  22. <link rel="stylesheet" href="https://cdn.jsdelivr.net/highlight.js/latest/styles/github.min.css">
  23. </head>
  24. <body>
  25. @inject('systemPresenter', 'App\Presenters\SystemPresenter')
  26. <header id='moell-header'>
  27. <nav class='navbar navbar-default navbar-static-top'>
  28. <div class='container'>
  29. <div class="navbar-header">
  30. <!-- Mobile Toggle Menu Button -->
  31. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
  32. <span class="sr-only">Toggle navigation</span>
  33. <span class="icon-bar"></span>
  34. <span class="icon-bar"></span>
  35. <span class="icon-bar"></span>
  36. </button>
  37. <a class="navbar-brand" href="{{ url("/") }}" >{{ $systemPresenter->getKeyValue('blog_name') }}</a>
  38. </div>
  39. @include('default.navigation')
  40. </div>
  41. </nav>
  42. </header>
  43. <!-- Main jumbotron for a primary marketing message or call to action -->
  44. <div class="jumbotron">
  45. <div class="container">
  46. <p>
  47. @yield('header-text')
  48. </p>
  49. </div>
  50. </div>
  51. <section id='content' style="margin-top:40px;">
  52. <div class='container'>
  53. <div class='row'>
  54. <div class='col-md-12' >
  55. @yield('content')
  56. </div>
  57. </div>
  58. </div>
  59. </section>
  60. @include('default.footer')
  61. <!-- jQuery -->
  62. <script src="{{ asset('default/js/jQuery-2.2.0.min.js') }}"></script>
  63. <!-- Bootstrap -->
  64. <script src="{{ asset('default/js/bootstrap.min.js') }}"></script>
  65. <!-- Waypoints -->
  66. <script src="{{ asset('default/js/index.js') }}"></script>
  67. <script src="https://cdn.jsdelivr.net/highlight.js/latest/highlight.min.js"></script>
  68. <script>
  69. hljs.initHighlightingOnLoad();
  70. </script>
  71. @yield('script')
  72. </body>
  73. </html>