| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 | 
							- <?php
 
- return [
 
-     '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
 
-     'filename' => '/mnt/data/Sites/anissabensalah.net/user/themes/quark/blueprints/blog.yaml',
 
-     'modified' => 1526367498,
 
-     'data' => [
 
-         'extends@' => 'default',
 
-         'child_type' => 'item',
 
-         'rules' => [
 
-             'slug' => [
 
-                 'pattern' => '[a-z][a-z0-9_\\-]+',
 
-                 'min' => 2,
 
-                 'max' => 80
 
-             ]
 
-         ],
 
-         'form' => [
 
-             'fields' => [
 
-                 'tabs' => [
 
-                     'type' => 'tabs',
 
-                     'active' => 1,
 
-                     'fields' => [
 
-                         'advanced' => [
 
-                             'fields' => [
 
-                                 'overrides' => [
 
-                                     'fields' => [
 
-                                         'header.child_type' => [
 
-                                             'default' => 'item'
 
-                                         ]
 
-                                     ]
 
-                                 ]
 
-                             ]
 
-                         ],
 
-                         'blog' => [
 
-                             'type' => 'tab',
 
-                             'title' => 'Blog Config',
 
-                             'fields' => [
 
-                                 'content_title' => [
 
-                                     'type' => 'spacer',
 
-                                     'title' => 'Content Definition'
 
-                                 ],
 
-                                 'header.content.items' => [
 
-                                     'type' => 'textarea',
 
-                                     'yaml' => true,
 
-                                     'label' => 'Items',
 
-                                     'default' => '@self.children',
 
-                                     'validate' => [
 
-                                         'type' => 'yaml'
 
-                                     ]
 
-                                 ],
 
-                                 'header.content.limit' => [
 
-                                     'type' => 'text',
 
-                                     'label' => 'Max Item Count',
 
-                                     'default' => 5,
 
-                                     'validate' => [
 
-                                         'required' => true,
 
-                                         'type' => 'int',
 
-                                         'min' => 1
 
-                                     ]
 
-                                 ],
 
-                                 'header.content.order.by' => [
 
-                                     'type' => 'select',
 
-                                     'label' => 'Order By',
 
-                                     'default' => 'date',
 
-                                     'options' => [
 
-                                         'folder' => 'Folder',
 
-                                         'title' => 'Title',
 
-                                         'date' => 'Date',
 
-                                         'default' => 'Default'
 
-                                     ]
 
-                                 ],
 
-                                 'header.content.order.dir' => [
 
-                                     'type' => 'select',
 
-                                     'label' => 'Order',
 
-                                     'default' => 'desc',
 
-                                     'options' => [
 
-                                         'asc' => 'Ascending',
 
-                                         'desc' => 'Descending'
 
-                                     ]
 
-                                 ],
 
-                                 'header.content.pagination' => [
 
-                                     'type' => 'toggle',
 
-                                     'label' => 'Pagination',
 
-                                     'highlight' => 1,
 
-                                     'default' => 1,
 
-                                     'options' => [
 
-                                         1 => 'PLUGIN_ADMIN.ENABLED',
 
-                                         0 => 'PLUGIN_ADMIN.DISABLED'
 
-                                     ],
 
-                                     'validate' => [
 
-                                         'type' => 'bool'
 
-                                     ]
 
-                                 ],
 
-                                 'header.content.url_taxonomy_filters' => [
 
-                                     'type' => 'toggle',
 
-                                     'label' => 'URL Taxonomy Filters',
 
-                                     'highlight' => 1,
 
-                                     'default' => 1,
 
-                                     'options' => [
 
-                                         1 => 'PLUGIN_ADMIN.ENABLED',
 
-                                         0 => 'PLUGIN_ADMIN.DISABLED'
 
-                                     ],
 
-                                     'validate' => [
 
-                                         'type' => 'bool'
 
-                                     ]
 
-                                 ]
 
-                             ],
 
-                             'import@' => [
 
-                                 'type' => 'partials/blog-bits',
 
-                                 'context' => 'blueprints://pages'
 
-                             ]
 
-                         ]
 
-                     ]
 
-                 ]
 
-             ]
 
-         ]
 
-     ]
 
- ];
 
 
  |