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') @inject('markdownHelper', 'App\Helpers\MarkdownHelper')
<!DOCTYPE html> <!DOCTYPE html>
<html lang="de-DE" class="no-js">
<html lang="de-DE">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge"> <meta http-equiv="x-ua-compatible" content="ie=edge">
@ -10,7 +10,10 @@
Elina Penner | {{ $page['data']['title'] }} Elina Penner | {{ $page['data']['title'] }}
</title> </title>
@include('partials.meta')
<meta name="viewport" content="width=device-width, initial-scale=1"> <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="{{ (isset($_SERVER['HTTPS']) ? 'https' : 'http').'://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'] }}" rel="canonical">
<link href="{{ asset('/css/index.css') }}" rel="stylesheet" type="text/css"> <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 item_duplication_fields: null
schema: schema:
name: menu_items name: menu_items
schema: db
schema: db787832552465385
comment: '' comment: ''
collation: utf8_general_ci collation: utf8_general_ci
engine: InnoDB engine: InnoDB
@ -43,7 +43,7 @@ collections:
item_duplication_fields: null item_duplication_fields: null
schema: schema:
name: menus_menu_items name: menus_menu_items
schema: db
schema: db787832552465385
comment: '' comment: ''
collation: utf8_general_ci collation: utf8_general_ci
engine: InnoDB engine: InnoDB
@ -66,7 +66,7 @@ collections:
item_duplication_fields: null item_duplication_fields: null
schema: schema:
name: snippets name: snippets
schema: db
schema: db787832552465385
comment: '' comment: ''
collation: utf8_general_ci collation: utf8_general_ci
engine: InnoDB engine: InnoDB
@ -89,7 +89,7 @@ collections:
item_duplication_fields: null item_duplication_fields: null
schema: schema:
name: posts name: posts
schema: db
schema: db787832552465385
comment: '' comment: ''
collation: utf8_general_ci collation: utf8_general_ci
engine: InnoDB engine: InnoDB
@ -112,7 +112,7 @@ collections:
item_duplication_fields: null item_duplication_fields: null
schema: schema:
name: menus name: menus
schema: db
schema: db787832552465385
comment: '' comment: ''
collation: utf8_general_ci collation: utf8_general_ci
engine: InnoDB engine: InnoDB
@ -135,7 +135,7 @@ collections:
item_duplication_fields: null item_duplication_fields: null
schema: schema:
name: pages name: pages
schema: db
schema: db787832552465385
comment: '' comment: ''
collation: utf8_general_ci collation: utf8_general_ci
engine: InnoDB engine: InnoDB
@ -1917,9 +1917,18 @@ fields:
meta: meta:
field: name field: name
type: string type: string
interface: input
interface: select-dropdown
options: options:
trim: true trim: true
allowOther: true
allowNone: true
choices:
- text: description
value: description
- text: robots
value: robots
- text: author
value: author
- field: content - field: content
name: content name: content
type: text type: text


Loading…
Cancel
Save