'news', 'debug' => true, 'language' => true, 'languages.detect' => true ]; // c::set('cache', false); // c::set('autobuster', true); // c::set('plugin.embed.video.lazyload', true); // c::set('plugin.embed.video.lazyload.btn', 'assets/images/play.png'); // c::set('kirbytext.image.figure', false); // c::set('plugin.updateid', array( // array( // 'pages' => function () { return site()->index()->filterBy('intendedTemplate', 'release'); }, // 'fields' => 'productlink' // ) // )); // c::set('imagekit.widget.discover', false); // //Typo // c::set('typography', true); // c::set('typography.widget', false); // c::set('typography.ordinal.suffix', false); // c::set('typography.fractions', false); // c::set('typography.dashes.spacing', false); // c::set('typography.hyphenation', true); // //c::set('typography.hyphenation.language', 'fr'); // //c::set('typography.hyphenation.minlength', 5); // c::set('typography.hyphenation.headings', false); // c::set('typography.hyphenation.allcaps', false); // c::set('typography.hyphenation.titlecase', false); // //Settings // c::set('simplemde.replaceTextarea', true); // c::set('simplemde.buttons', array( // "pagelink", // "link", // "email" // )); // c::set('sitemap.exclude', array('error')); // c::set('sitemap.important', array('contact')); // c::set('thumb.quality', 100); // c::set('thumbs.driver', 'im'); // c::set('languages', array( // array( // 'code' => 'fr', // 'name' => 'Français', // 'locale' => 'fr_FR', // 'default' => true, // 'url' => '/', // ), // array( // 'code' => 'en', // 'name' => 'English', // 'locale' => 'en_US', // 'url' => '/en', // ), // )); // c::set('routes', array( // // array( // // 'pattern' => 'info/(:any)', // // 'action' => function($uri,$uid) { // // $page = site()->homePage(); // // go($page); // // } // // ), // array( // 'pattern' => 'robots.txt', // 'action' => function () { // return new Response('User-agent: * // Disallow: /content/*.txt$ // Disallow: /kirby/ // Disallow: /site/ // Disallow: /*.md$ // Sitemap: ' . u('sitemap.xml'), 'txt'); // } // ) // )); // // kirby()->hook(['panel.page.create', 'panel.page.sort', 'panel.page.hide', 'panel.page.delete'], function($page) { // // if ($page->intendedTemplate() == 'project') { // // $page->parent()->update(array( // // 'sortable' => '' // // )); // // } // // }); // s::$fingerprint = function() { // return ''; // };