diff --git a/resources/views/layout.blade.php b/resources/views/layout.blade.php index 640842f..ccf6257 100644 --- a/resources/views/layout.blade.php +++ b/resources/views/layout.blade.php @@ -2,7 +2,7 @@ @inject('markdownHelper', 'App\Helpers\MarkdownHelper') - +
@@ -10,7 +10,10 @@ Elina Penner | {{ $page['data']['title'] }} + @include('partials.meta') + + diff --git a/resources/views/partials/meta.blade.php b/resources/views/partials/meta.blade.php new file mode 100644 index 0000000..cec14f5 --- /dev/null +++ b/resources/views/partials/meta.blade.php @@ -0,0 +1,5 @@ +@if (isset($page['data']['meta'])) + @foreach($page['data']['meta'] as $meta) + + @endforeach +@endif \ No newline at end of file diff --git a/snapshot.yaml b/snapshot.yaml index 5896ea5..f0b79d0 100644 --- a/snapshot.yaml +++ b/snapshot.yaml @@ -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