Browse Source

adding #4

develop
HerrHase 3 years ago
parent
commit
16cbe14ed1
3 changed files with 25 additions and 8 deletions
  1. +4
    -1
      resources/views/layout.blade.php
  2. +5
    -0
      resources/views/partials/meta.blade.php
  3. +16
    -7
      snapshot.yaml

+ 4
- 1
resources/views/layout.blade.php View File

@ -2,7 +2,7 @@
@inject('markdownHelper', 'App\Helpers\MarkdownHelper')
<!DOCTYPE html>
<html lang="de-DE" class="no-js">
<html lang="de-DE">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
@ -10,7 +10,10 @@
Elina Penner | {{ $page['data']['title'] }}
</title>
@include('partials.meta')
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="{{ (isset($_SERVER['HTTPS']) ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'] }}" rel="canonical">
<link href="{{ asset('/css/index.css') }}" rel="stylesheet" type="text/css">


+ 5
- 0
resources/views/partials/meta.blade.php View File

@ -0,0 +1,5 @@
@if (isset($page['data']['meta']))
@foreach($page['data']['meta'] as $meta)
<meta name="{{ $meta['name'] }}" content="{{ $meta['content'] }}" />
@endforeach
@endif

+ 16
- 7
snapshot.yaml View File

@ -20,7 +20,7 @@ collections:
item_duplication_fields: null
schema:
name: menu_items
schema: db
schema: db787832552465385
comment: ''
collation: utf8_general_ci
engine: InnoDB
@ -43,7 +43,7 @@ collections:
item_duplication_fields: null
schema:
name: menus_menu_items
schema: db
schema: db787832552465385
comment: ''
collation: utf8_general_ci
engine: InnoDB
@ -66,7 +66,7 @@ collections:
item_duplication_fields: null
schema:
name: snippets
schema: db
schema: db787832552465385
comment: ''
collation: utf8_general_ci
engine: InnoDB
@ -89,7 +89,7 @@ collections:
item_duplication_fields: null
schema:
name: posts
schema: db
schema: db787832552465385
comment: ''
collation: utf8_general_ci
engine: InnoDB
@ -112,7 +112,7 @@ collections:
item_duplication_fields: null
schema:
name: menus
schema: db
schema: db787832552465385
comment: ''
collation: utf8_general_ci
engine: InnoDB
@ -135,7 +135,7 @@ collections:
item_duplication_fields: null
schema:
name: pages
schema: db
schema: db787832552465385
comment: ''
collation: utf8_general_ci
engine: InnoDB
@ -1917,9 +1917,18 @@ fields:
meta:
field: name
type: string
interface: input
interface: select-dropdown
options:
trim: true
allowOther: true
allowNone: true
choices:
- text: description
value: description
- text: robots
value: robots
- text: author
value: author
- field: content
name: content
type: text


Loading…
Cancel
Save