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.

37 lines
1.1 KiB

3 years ago
  1. @inject('pageRepository', 'App\Repositories\PageRepository')
  2. @inject('markdownHelper', 'App\Helpers\MarkdownHelper')
  3. <!DOCTYPE html>
  4. <html lang="de-DE" class="no-js">
  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. <meta name="viewport" content="width=device-width, initial-scale=1">
  12. <link href="{{ (isset($_SERVER['HTTPS']) ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'] }}" rel="canonical">
  13. <link href="{{ asset('/css/index.css') }}" rel="stylesheet" type="text/css">
  14. @stack('head')
  15. </head>
  16. <body class="{{ viewName($page) }}">
  17. <header class="site-header">
  18. <h1 class="site-header__title">
  19. Super Gear Directus
  20. </h1>
  21. </header>
  22. <main class="site-main">
  23. @yield('content')
  24. </main>
  25. <footer class="site-footer">
  26. </footer>
  27. @stack('scripts')
  28. </body>
  29. </html>