diff --git a/cache/compiled/files/21734e2c1e7129df7b081b625a5fb71b.yaml.php b/cache/compiled/files/21734e2c1e7129df7b081b625a5fb71b.yaml.php new file mode 100644 index 0000000..e209e9f --- /dev/null +++ b/cache/compiled/files/21734e2c1e7129df7b081b625a5fb71b.yaml.php @@ -0,0 +1,18 @@ + 'Grav\\Common\\File\\CompiledYamlFile', + 'filename' => '/mnt/data/Sites/hehe.net/user/plugins/admin/blueprints/admin/pages/move.yaml', + 'modified' => 1533014916, + 'data' => [ + 'form' => [ + 'validation' => 'loose', + 'fields' => [ + 'route' => [ + 'type' => 'parents', + 'label' => 'PLUGIN_ADMIN.PARENT', + 'classes' => 'fancy' + ] + ] + ] + ] +]; diff --git a/cache/compiled/files/5fa2101f9bd31b27ee830ca1eb7ade8b.yaml.php b/cache/compiled/files/5fa2101f9bd31b27ee830ca1eb7ade8b.yaml.php new file mode 100644 index 0000000..33ddbe8 --- /dev/null +++ b/cache/compiled/files/5fa2101f9bd31b27ee830ca1eb7ade8b.yaml.php @@ -0,0 +1,126 @@ + 'Grav\\Common\\File\\CompiledYamlFile', + 'filename' => '/mnt/data/Sites/hehe.net/user/plugins/admin/blueprints/admin/pages/raw.yaml', + 'modified' => 1533014916, + 'data' => [ + 'rules' => [ + 'slug' => [ + 'pattern' => '[a-zA-Zа-яA-Я0-9_\\-]+', + 'min' => 1, + 'max' => 200 + ] + ], + 'form' => [ + 'validation' => 'loose', + 'fields' => [ + 'tabs' => [ + 'type' => 'tabs', + 'active' => 1, + 'fields' => [ + 'content' => [ + 'type' => 'tab', + 'title' => 'PLUGIN_ADMIN.CONTENT', + 'fields' => [ + 'frontmatter' => [ + 'classes' => 'frontmatter', + 'type' => 'editor', + 'label' => 'PLUGIN_ADMIN.FRONTMATTER', + 'autofocus' => true, + 'codemirror' => [ + 'mode' => 'yaml', + 'indentUnit' => 4, + 'autofocus' => true, + 'indentWithTabs' => false, + 'lineNumbers' => true, + 'styleActiveLine' => true, + 'gutters' => [ + 0 => 'CodeMirror-lint-markers' + ], + 'lint' => true + ] + ], + 'content' => [ + 'type' => 'markdown' + ], + 'header.media_order' => [ + 'type' => 'pagemedia', + 'label' => 'PLUGIN_ADMIN.PAGE_MEDIA' + ] + ] + ], + 'options' => [ + 'type' => 'tab', + 'title' => 'PLUGIN_ADMIN.OPTIONS', + 'fields' => [ + 'columns' => [ + 'type' => 'columns', + 'fields' => [ + 'column1' => [ + 'type' => 'column', + 'fields' => [ + 'ordering' => [ + 'type' => 'toggle', + 'label' => 'PLUGIN_ADMIN.FOLDER_NUMERIC_PREFIX', + 'help' => 'PLUGIN_ADMIN.FOLDER_NUMERIC_PREFIX_HELP', + 'highlight' => 1, + 'options' => [ + 1 => 'PLUGIN_ADMIN.ENABLED', + 0 => 'PLUGIN_ADMIN.DISABLED' + ], + 'validate' => [ + 'type' => 'bool' + ] + ], + 'folder' => [ + 'type' => 'text', + 'label' => 'PLUGIN_ADMIN.FOLDER_NAME', + 'help' => 'PLUGIN_ADMIN.FOLDER_NAME_HELP', + 'validate' => [ + 'rule' => 'slug', + 'required' => true + ] + ], + 'route' => [ + 'type' => 'parents', + 'label' => 'PLUGIN_ADMIN.PARENT', + 'classes' => 'fancy', + 'validate' => [ + 'required' => true + ] + ], + 'name' => [ + 'type' => 'select', + 'classes' => 'fancy', + 'label' => 'PLUGIN_ADMIN.DISPLAY_TEMPLATE', + 'help' => 'PLUGIN_ADMIN.DISPLAY_TEMPLATE_HELP', + 'default' => 'default', + 'data-options@' => '\\Grav\\Plugin\\AdminPlugin::pagesTypes', + 'validate' => [ + 'required' => true + ] + ] + ] + ], + 'column2' => [ + 'type' => 'column', + 'fields' => [ + 'order' => [ + 'type' => 'order', + 'label' => 'PLUGIN_ADMIN.ORDERING' + ] + ] + ] + ] + ], + 'blueprint' => [ + 'type' => 'blueprint' + ] + ] + ] + ] + ] + ] + ] + ] +]; diff --git a/cache/compiled/files/92b608975c03bb50a39d0ca898416a47.yaml.php b/cache/compiled/files/92b608975c03bb50a39d0ca898416a47.yaml.php new file mode 100644 index 0000000..34d72e3 --- /dev/null +++ b/cache/compiled/files/92b608975c03bb50a39d0ca898416a47.yaml.php @@ -0,0 +1,33 @@ + 'Grav\\Common\\File\\CompiledYamlFile', + 'filename' => '/mnt/data/Sites/hehe.net/user/themes/hehe/blueprints/default.yaml', + 'modified' => 1533014916, + 'data' => [ + 'extends@' => 'default', + 'form' => [ + 'fields' => [ + 'tabs' => [ + 'fields' => [ + 'advanced' => [ + 'fields' => [ + 'columns' => [ + 'fields' => [ + 'column1' => [ + 'fields' => [ + 'header.body_classes' => [ + 'markdown' => true, + 'description' => 'Available classes in Quark Theme (space separated):
`header-fixed`, `header-animated`, `header-dark`, `header-transparent`, `sticky-footer`' + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] +]; diff --git a/cache/compiled/files/b41e0b84cdfb728b0b5afb73d2a0c16f.yaml.php b/cache/compiled/files/b41e0b84cdfb728b0b5afb73d2a0c16f.yaml.php new file mode 100644 index 0000000..7a6b43d --- /dev/null +++ b/cache/compiled/files/b41e0b84cdfb728b0b5afb73d2a0c16f.yaml.php @@ -0,0 +1,80 @@ + 'Grav\\Common\\File\\CompiledYamlFile', + 'filename' => '/mnt/data/Sites/hehe.net/user/themes/hehe/blueprints/partials/blog-bits.yaml', + 'modified' => 1533014916, + 'data' => [ + 'form' => [ + 'fields' => [ + 'hero_title' => [ + 'type' => 'spacer', + 'title' => 'Hero Section' + ], + 'header.hero_classes' => [ + 'type' => 'text', + 'label' => 'Hero Classes', + 'markdown' => true, + 'description' => 'There are several Hero class options that can be listed here (space separated):
`text-light`, `text-dark`, `title-h1h2`, `parallax`, `overlay-dark-gradient`, `overlay-light-gradient`, `overlay-dark`, `overlay-light`, `hero-fullscreen`, `hero-large`, `hero-medium`, `hero-small`, `hero-tiny`
Please consult the [Quark documentation](https://github.com/getgrav/grav-theme-quark#hero-options) for more details.' + ], + 'header.hero_image' => [ + 'type' => 'filepicker', + 'label' => 'Hero Image', + 'preview_images' => true, + 'description' => 'If not specified, this defaults to the first image found in the page\'s folder' + ], + 'toggles_title' => [ + 'type' => 'spacer', + 'title' => 'Configuration' + ], + 'header.blog_url' => [ + 'type' => 'text', + 'toggleable' => true, + 'label' => 'Blog Route', + 'help' => 'The route to the main blog page that contains the "Show ..." configuration', + 'default' => '/blog', + 'placeholder' => '/blog', + 'size' => 'medium' + ], + 'header.show_sidebar' => [ + 'type' => 'toggle', + 'toggleable' => true, + 'label' => 'Show Sidebar', + 'highlight' => 1, + 'options' => [ + 1 => 'PLUGIN_ADMIN.ENABLED', + 0 => 'PLUGIN_ADMIN.DISABLED' + ], + 'validate' => [ + 'type' => 'bool' + ] + ], + 'header.show_breadcrumbs' => [ + 'type' => 'toggle', + 'toggleable' => true, + 'label' => 'Show Breadcrumbs', + 'highlight' => 1, + 'options' => [ + 1 => 'PLUGIN_ADMIN.ENABLED', + 0 => 'PLUGIN_ADMIN.DISABLED' + ], + 'validate' => [ + 'type' => 'bool' + ] + ], + 'header.show_pagination' => [ + 'type' => 'toggle', + 'toggleable' => true, + 'label' => 'Show Pagination', + 'highlight' => 1, + 'options' => [ + 1 => 'PLUGIN_ADMIN.ENABLED', + 0 => 'PLUGIN_ADMIN.DISABLED' + ], + 'validate' => [ + 'type' => 'bool' + ] + ] + ] + ] + ] +]; diff --git a/cache/compiled/files/bdb4a867763f03ca214752b03ac537f6.yaml.php b/cache/compiled/files/bdb4a867763f03ca214752b03ac537f6.yaml.php new file mode 100644 index 0000000..43922e6 --- /dev/null +++ b/cache/compiled/files/bdb4a867763f03ca214752b03ac537f6.yaml.php @@ -0,0 +1,117 @@ + 'Grav\\Common\\File\\CompiledYamlFile', + 'filename' => '/mnt/data/Sites/hehe.net/user/themes/hehe/blueprints/blog.yaml', + 'modified' => 1533014916, + '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' + ] + ] + ] + ] + ] + ] + ] +]; diff --git a/cache/compiled/files/d777a1c57442075c1e3f65d8a9fc1e6d.yaml.php b/cache/compiled/files/d777a1c57442075c1e3f65d8a9fc1e6d.yaml.php new file mode 100644 index 0000000..480d968 --- /dev/null +++ b/cache/compiled/files/d777a1c57442075c1e3f65d8a9fc1e6d.yaml.php @@ -0,0 +1,133 @@ + 'Grav\\Common\\File\\CompiledYamlFile', + 'filename' => '/mnt/data/Sites/hehe.net/user/themes/hehe/blueprints/item.yaml', + 'modified' => 1533014916, + 'data' => [ + 'extends@' => 'default', + 'form' => [ + 'fields' => [ + 'tabs' => [ + 'fields' => [ + 'blog' => [ + 'type' => 'tab', + 'title' => 'Blog Item', + 'fields' => [ + 'header_options' => [ + 'type' => 'section', + 'title' => 'Header Options', + 'underline' => true + ], + 'header.continue_link' => [ + 'type' => 'toggle', + 'toggleable' => true, + 'label' => 'DF Style Link', + 'help' => 'Daring Fireball style title link', + 'highlight' => 1, + 'default' => 1, + 'options' => [ + 1 => 'PLUGIN_ADMIN.ENABLED', + 0 => 'PLUGIN_ADMIN.DISABLED' + ], + 'validate' => [ + 'type' => 'bool' + ] + ], + 'header.header_image' => [ + 'type' => 'toggle', + 'toggleable' => true, + 'label' => 'Display Header Image', + 'help' => 'Enabled displaying of a header image', + 'highlight' => 1, + 'options' => [ + 1 => 'PLUGIN_ADMIN.ENABLED', + 0 => 'PLUGIN_ADMIN.DISABLED' + ] + ], + 'header.header_image_file' => [ + 'type' => 'text', + 'toggleable' => true, + 'label' => 'Image File', + 'help' => 'image filename that exists in the page folder. If not provided, will use the first image found.', + 'placeholder' => 'For example: myimage.jpg' + ], + 'header.header_image_width' => [ + 'type' => 'text', + 'toggleable' => true, + 'label' => 'Image Width', + 'size' => 'small', + 'help' => 'Header width in px', + 'placeholder' => 'Default is 900', + 'validate' => [ + 'type' => 'int', + 'min' => 0, + 'max' => 5000 + ] + ], + 'header.header_image_height' => [ + 'type' => 'text', + 'toggleable' => true, + 'label' => 'Image Height', + 'size' => 'small', + 'help' => 'Header height in px', + 'placeholder' => 'Default is 300', + 'validate' => [ + 'type' => 'int', + 'min' => 0, + 'max' => 5000 + ] + ], + 'summary' => [ + 'type' => 'section', + 'title' => 'Summary', + 'underline' => true + ], + 'header.summary.enabled' => [ + 'type' => 'toggle', + 'toggleable' => true, + 'label' => 'Summary', + 'highlight' => 1, + 'options' => [ + 1 => 'PLUGIN_ADMIN.ENABLED', + 0 => 'PLUGIN_ADMIN.DISABLED' + ] + ], + 'header.summary.format' => [ + 'type' => 'select', + 'toggleable' => true, + 'label' => 'Format', + 'classes' => 'fancy', + 'options' => [ + 'short' => 'Use the first occurence of delimter or size', + 'long' => 'Summary delimiter will be ignored' + ] + ], + 'header.summary.size' => [ + 'type' => 'text', + 'toggleable' => true, + 'label' => 'Size', + 'classes' => 'large', + 'placeholder' => 300, + 'validate' => [ + 'type' => 'int', + 'min' => 1 + ] + ], + 'header.summary.delimiter' => [ + 'type' => 'text', + 'toggleable' => true, + 'label' => 'Summary delimiter', + 'classes' => 'large', + 'placeholder' => '===' + ] + ], + 'import@' => [ + 'type' => 'partials/blog-bits' + ] + ] + ] + ] + ] + ] + ] +]; diff --git a/cache/compiled/files/e08035d8cd7725be69d6b78ffd186911.yaml.php b/cache/compiled/files/e08035d8cd7725be69d6b78ffd186911.yaml.php new file mode 100644 index 0000000..8c2174d --- /dev/null +++ b/cache/compiled/files/e08035d8cd7725be69d6b78ffd186911.yaml.php @@ -0,0 +1,407 @@ + 'Grav\\Common\\File\\CompiledYamlFile', + 'filename' => '/mnt/data/Sites/hehe.net/system/blueprints/pages/default.yaml', + 'modified' => 1533014916, + 'data' => [ + 'title' => 'PLUGIN_ADMIN.DEFAULT', + 'rules' => [ + 'slug' => [ + 'pattern' => '[a-zA-Zа-яA-Я0-9_\\-]+', + 'min' => 1, + 'max' => 200 + ] + ], + 'form' => [ + 'validation' => 'loose', + 'fields' => [ + 'tabs' => [ + 'type' => 'tabs', + 'active' => 1, + 'fields' => [ + 'content' => [ + 'type' => 'tab', + 'title' => 'PLUGIN_ADMIN.CONTENT', + 'fields' => [ + 'header.title' => [ + 'type' => 'text', + 'autofocus' => true, + 'style' => 'vertical', + 'label' => 'PLUGIN_ADMIN.TITLE' + ], + 'content' => [ + 'type' => 'markdown', + 'validate' => [ + 'type' => 'textarea' + ] + ], + 'header.media_order' => [ + 'type' => 'pagemedia', + 'label' => 'PLUGIN_ADMIN.PAGE_MEDIA' + ] + ] + ], + 'options' => [ + 'type' => 'tab', + 'title' => 'PLUGIN_ADMIN.OPTIONS', + 'fields' => [ + 'publishing' => [ + 'type' => 'section', + 'title' => 'PLUGIN_ADMIN.PUBLISHING', + 'underline' => true, + 'fields' => [ + 'header.published' => [ + 'type' => 'toggle', + 'toggleable' => true, + 'label' => 'PLUGIN_ADMIN.PUBLISHED', + 'help' => 'PLUGIN_ADMIN.PUBLISHED_HELP', + 'highlight' => 1, + 'size' => 'medium', + 'options' => [ + 1 => 'PLUGIN_ADMIN.YES', + 0 => 'PLUGIN_ADMIN.NO' + ], + 'validate' => [ + 'type' => 'bool' + ] + ], + 'header.date' => [ + 'type' => 'datetime', + 'label' => 'PLUGIN_ADMIN.DATE', + 'toggleable' => true, + 'help' => 'PLUGIN_ADMIN.DATE_HELP' + ], + 'header.publish_date' => [ + 'type' => 'datetime', + 'label' => 'PLUGIN_ADMIN.PUBLISHED_DATE', + 'toggleable' => true, + 'help' => 'PLUGIN_ADMIN.PUBLISHED_DATE_HELP' + ], + 'header.unpublish_date' => [ + 'type' => 'datetime', + 'label' => 'PLUGIN_ADMIN.UNPUBLISHED_DATE', + 'toggleable' => true, + 'help' => 'PLUGIN_ADMIN.UNPUBLISHED_DATE_HELP' + ], + 'header.metadata' => [ + 'toggleable' => true, + 'type' => 'array', + 'label' => 'PLUGIN_ADMIN.METADATA', + 'help' => 'PLUGIN_ADMIN.METADATA_HELP', + 'placeholder_key' => 'PLUGIN_ADMIN.METADATA_KEY', + 'placeholder_value' => 'PLUGIN_ADMIN.METADATA_VALUE' + ] + ] + ], + 'taxonomies' => [ + 'type' => 'section', + 'title' => 'PLUGIN_ADMIN.TAXONOMIES', + 'underline' => true, + 'fields' => [ + 'header.taxonomy' => [ + 'type' => 'taxonomy', + 'label' => 'PLUGIN_ADMIN.TAXONOMY', + 'multiple' => true, + 'validate' => [ + 'type' => 'array' + ] + ] + ] + ] + ] + ], + 'advanced' => [ + 'type' => 'tab', + 'title' => 'PLUGIN_ADMIN.ADVANCED', + 'fields' => [ + 'columns' => [ + 'type' => 'columns', + 'fields' => [ + 'column1' => [ + 'type' => 'column', + 'fields' => [ + 'settings' => [ + 'type' => 'section', + 'title' => 'PLUGIN_ADMIN.SETTINGS', + 'underline' => true + ], + 'folder' => [ + 'type' => 'text', + 'label' => 'PLUGIN_ADMIN.FOLDER_NAME', + 'validate' => [ + 'rule' => 'slug' + ] + ], + 'route' => [ + 'type' => 'parents', + 'label' => 'PLUGIN_ADMIN.PARENT', + 'classes' => 'fancy' + ], + 'name' => [ + 'type' => 'select', + 'classes' => 'fancy', + 'label' => 'PLUGIN_ADMIN.PAGE_FILE', + 'help' => 'PLUGIN_ADMIN.PAGE_FILE_HELP', + 'default' => 'default', + 'data-options@' => '\\Grav\\Common\\Page\\Pages::pageTypes' + ], + 'header.body_classes' => [ + 'type' => 'text', + 'label' => 'PLUGIN_ADMIN.BODY_CLASSES' + ] + ] + ], + 'column2' => [ + 'type' => 'column', + 'fields' => [ + 'order_title' => [ + 'type' => 'section', + 'title' => 'PLUGIN_ADMIN.ORDERING', + 'underline' => true + ], + 'ordering' => [ + 'type' => 'toggle', + 'label' => 'PLUGIN_ADMIN.FOLDER_NUMERIC_PREFIX', + 'help' => 'PLUGIN_ADMIN.FOLDER_NUMERIC_PREFIX_HELP', + 'highlight' => 1, + 'options' => [ + 1 => 'PLUGIN_ADMIN.ENABLED', + 0 => 'PLUGIN_ADMIN.DISABLED' + ], + 'validate' => [ + 'type' => 'bool' + ] + ], + 'order' => [ + 'type' => 'order', + 'label' => 'PLUGIN_ADMIN.SORTABLE_PAGES', + 'sitemap' => NULL + ] + ] + ] + ] + ], + 'overrides' => [ + 'type' => 'section', + 'title' => 'PLUGIN_ADMIN.OVERRIDES', + 'underline' => true, + 'fields' => [ + 'header.dateformat' => [ + 'toggleable' => true, + 'type' => 'select', + 'size' => 'medium', + 'selectize' => [ + 'create' => true + ], + 'label' => 'PLUGIN_ADMIN.DEFAULT_DATE_FORMAT', + 'help' => 'PLUGIN_ADMIN.DEFAULT_DATE_FORMAT_HELP', + 'placeholder' => 'PLUGIN_ADMIN.DEFAULT_DATE_FORMAT_PLACEHOLDER', + 'data-options@' => '\\Grav\\Common\\Utils::dateFormats', + 'validate' => [ + 'type' => 'string' + ] + ], + 'header.menu' => [ + 'type' => 'text', + 'label' => 'PLUGIN_ADMIN.MENU', + 'toggleable' => true, + 'help' => 'PLUGIN_ADMIN.MENU_HELP' + ], + 'header.slug' => [ + 'type' => 'text', + 'label' => 'PLUGIN_ADMIN.SLUG', + 'toggleable' => true, + 'help' => 'PLUGIN_ADMIN.SLUG_HELP', + 'validate' => [ + 'message' => 'PLUGIN_ADMIN.SLUG_VALIDATE_MESSAGE', + 'rule' => 'slug' + ] + ], + 'header.redirect' => [ + 'type' => 'text', + 'label' => 'PLUGIN_ADMIN.REDIRECT', + 'toggleable' => true, + 'help' => 'PLUGIN_ADMIN.REDIRECT_HELP' + ], + 'header.process' => [ + 'type' => 'checkboxes', + 'label' => 'PLUGIN_ADMIN.PROCESS', + 'toggleable' => true, + 'config-default@' => 'system.pages.process', + 'default' => [ + 'markdown' => true, + 'twig' => false + ], + 'options' => [ + 'markdown' => 'Markdown', + 'twig' => 'Twig' + ], + 'use' => 'keys' + ], + 'header.twig_first' => [ + 'type' => 'toggle', + 'toggleable' => true, + 'label' => 'PLUGIN_ADMIN.TWIG_FIRST', + 'help' => 'PLUGIN_ADMIN.TWIG_FIRST_HELP', + 'highlight' => 0, + 'options' => [ + 1 => 'PLUGIN_ADMIN.YES', + 0 => 'PLUGIN_ADMIN.NO' + ], + 'validate' => [ + 'type' => 'bool' + ] + ], + 'header.never_cache_twig' => [ + 'type' => 'toggle', + 'toggleable' => true, + 'label' => 'PLUGIN_ADMIN.NEVER_CACHE_TWIG', + 'help' => 'PLUGIN_ADMIN.NEVER_CACHE_TWIG_HELP', + 'highlight' => 0, + 'options' => [ + 1 => 'PLUGIN_ADMIN.YES', + 0 => 'PLUGIN_ADMIN.NO' + ], + 'validate' => [ + 'type' => 'bool' + ] + ], + 'header.child_type' => [ + 'type' => 'select', + 'toggleable' => true, + 'label' => 'PLUGIN_ADMIN.DEFAULT_CHILD_TYPE', + 'default' => 'default', + 'placeholder' => 'PLUGIN_ADMIN.USE_GLOBAL', + 'data-options@' => '\\Grav\\Common\\Page\\Pages::types' + ], + 'header.routable' => [ + 'type' => 'toggle', + 'toggleable' => true, + 'label' => 'PLUGIN_ADMIN.ROUTABLE', + 'help' => 'PLUGIN_ADMIN.ROUTABLE_HELP', + 'highlight' => 1, + 'options' => [ + 1 => 'PLUGIN_ADMIN.ENABLED', + 0 => 'PLUGIN_ADMIN.DISABLED' + ], + 'validate' => [ + 'type' => 'bool' + ] + ], + 'header.cache_enable' => [ + 'type' => 'toggle', + 'toggleable' => true, + 'label' => 'PLUGIN_ADMIN.CACHING', + 'highlight' => 1, + 'options' => [ + 1 => 'PLUGIN_ADMIN.ENABLED', + 0 => 'PLUGIN_ADMIN.DISABLED' + ], + 'validate' => [ + 'type' => 'bool' + ] + ], + 'header.visible' => [ + 'type' => 'toggle', + 'toggleable' => true, + 'label' => 'PLUGIN_ADMIN.VISIBLE', + 'help' => 'PLUGIN_ADMIN.VISIBLE_HELP', + 'highlight' => 1, + 'options' => [ + 1 => 'PLUGIN_ADMIN.ENABLED', + 0 => 'PLUGIN_ADMIN.DISABLED' + ], + 'validate' => [ + 'type' => 'bool' + ] + ], + 'header.debugger' => [ + 'type' => 'toggle', + 'toggleable' => true, + 'label' => 'PLUGIN_ADMIN.DEBUGGER', + 'help' => 'PLUGIN_ADMIN.DEBUGGER_HELP', + 'highlight' => 1, + 'options' => [ + 1 => 'PLUGIN_ADMIN.ENABLED', + 0 => 'PLUGIN_ADMIN.DISABLED' + ], + 'validate' => [ + 'type' => 'bool' + ] + ], + 'header.template' => [ + 'type' => 'text', + 'toggleable' => true, + 'label' => 'PLUGIN_ADMIN.DISPLAY_TEMPLATE' + ], + 'header.append_url_extension' => [ + 'type' => 'text', + 'label' => 'PLUGIN_ADMIN.APPEND_URL_EXT', + 'toggleable' => true, + 'help' => 'PLUGIN_ADMIN.APPEND_URL_EXT_HELP' + ] + ] + ], + 'routes_only' => [ + 'type' => 'section', + 'title' => 'PLUGIN_ADMIN.ROUTE_OVERRIDES', + 'underline' => true, + 'fields' => [ + 'header.routes.default' => [ + 'type' => 'text', + 'toggleable' => true, + 'label' => 'PLUGIN_ADMIN.ROUTE_DEFAULT' + ], + 'header.routes.canonical' => [ + 'type' => 'text', + 'toggleable' => true, + 'label' => 'PLUGIN_ADMIN.ROUTE_CANONICAL' + ], + 'header.routes.aliases' => [ + 'type' => 'array', + 'toggleable' => true, + 'value_only' => true, + 'size' => 'large', + 'label' => 'PLUGIN_ADMIN.ROUTE_ALIASES' + ] + ] + ], + 'admin_only' => [ + 'type' => 'section', + 'title' => 'PLUGIN_ADMIN.ADMIN_SPECIFIC_OVERRIDES', + 'underline' => true, + 'fields' => [ + 'header.admin.children_display_order' => [ + 'type' => 'select', + 'label' => 'PLUGIN_ADMIN.ADMIN_CHILDREN_DISPLAY_ORDER', + 'help' => 'PLUGIN_ADMIN.ADMIN_CHILDREN_DISPLAY_ORDER_HELP', + 'toggleable' => true, + 'classes' => 'fancy', + 'default' => 'collection', + 'options' => [ + 'default' => 'Ordered by Folder name (default)', + 'collection' => 'Ordered by Collection definition' + ] + ], + 'header.order_by' => [ + 'type' => 'hidden' + ], + 'header.order_manual' => [ + 'type' => 'hidden', + 'validate' => [ + 'type' => 'commalist' + ] + ], + 'blueprint' => [ + 'type' => 'blueprint' + ] + ] + ] + ] + ] + ] + ] + ] + ] + ] +]; diff --git a/logs/popularity/daily.json b/logs/popularity/daily.json index 0d7fb27..0f91cb8 100644 --- a/logs/popularity/daily.json +++ b/logs/popularity/daily.json @@ -1 +1 @@ -{"01-08-2018":5} \ No newline at end of file +{"01-08-2018":19} \ No newline at end of file diff --git a/logs/popularity/monthly.json b/logs/popularity/monthly.json index 54a956b..6ea213a 100644 --- a/logs/popularity/monthly.json +++ b/logs/popularity/monthly.json @@ -1 +1 @@ -{"08-2018":5} \ No newline at end of file +{"08-2018":19} \ No newline at end of file diff --git a/logs/popularity/totals.json b/logs/popularity/totals.json index 619c6c2..8bea4f2 100644 --- a/logs/popularity/totals.json +++ b/logs/popularity/totals.json @@ -1 +1 @@ -{"\/":5} \ No newline at end of file +{"\/":19} \ No newline at end of file diff --git a/logs/popularity/visitors.json b/logs/popularity/visitors.json index 804df01..e497e5b 100644 --- a/logs/popularity/visitors.json +++ b/logs/popularity/visitors.json @@ -1 +1 @@ -{"4b84b15bff6ee5796152495a230e45e3d7e947d9":1533136716} \ No newline at end of file +{"4b84b15bff6ee5796152495a230e45e3d7e947d9":1533137465} \ No newline at end of file diff --git a/user/pages/01.home/default.md b/user/pages/01.home/blog.md similarity index 98% rename from user/pages/01.home/default.md rename to user/pages/01.home/blog.md index a8119bd..00e95ad 100644 --- a/user/pages/01.home/default.md +++ b/user/pages/01.home/blog.md @@ -1,6 +1,6 @@ --- title: Home -body_classes: title-center title-h1h2 +body_classes: 'title-center title-h1h2' --- # Say Hello to Grav! diff --git a/user/pages/01.home/projets/item.md b/user/pages/01.home/projets/item.md new file mode 100644 index 0000000..c4c93f4 --- /dev/null +++ b/user/pages/01.home/projets/item.md @@ -0,0 +1,14 @@ +--- +title: Projets +continue_link: true +content: + items: '- ''@self.children''' + limit: '5' + order: + by: date + dir: desc + pagination: '1' + url_taxonomy_filters: '1' +--- + +CC \ No newline at end of file