Boilerplate to use a Directus Instance to Build a Custom Website, Content will be Manage by Directus
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.1 KiB

3 years ago
3 years ago
3 years ago
3 years ago
  1. @inject('pageRepository', 'App\Repositories\PageRepository')
  2. @inject('markdownHelper', 'App\Helpers\MarkdownHelper')
  3. <!DOCTYPE html>
  4. <html lang="de-DE">
  5. <head>
  6. <meta charset="utf-8">
  7. <meta http-equiv="x-ua-compatible" content="ie=edge">
  8. <title>
  9. Elina Penner | {{ $page['data']['title'] }}
  10. </title>
  11. @include('partials.meta')
  12. <meta name="viewport" content="width=device-width, initial-scale=1">
  13. <link href="{{ (isset($_SERVER['HTTPS']) ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'] }}" rel="canonical">
  14. <link href="{{ asset('/css/index.css') }}" rel="stylesheet" type="text/css">
  15. @stack('head')
  16. </head>
  17. <body class="{{ viewName($page) }}">
  18. <header class="site-header">
  19. <h1 class="site-header__title">
  20. Super Gear Directus
  21. </h1>
  22. </header>
  23. <main class="site-main">
  24. @yield('content')
  25. </main>
  26. <footer class="site-footer">
  27. </footer>
  28. @stack('scripts')
  29. </body>
  30. </html>