<?php

return [
	'languages' => true,
	'debug' => true,
    'bnomei.janitor.jobs' => [
        'copyFromDe' => function (Kirby\Cms\Page $page = null, string $data) {
            $content = $page->content('de')->toArray();
            $page->update([$data => $content[$data]], kirby()->languageCode());

            return [
                'status' => 200,
                'label' => 'Done',
                'reload' => true
            ];
        },
    ],
	'thumbs' => [
        'srcsets' => [
            'full' => [
                '1x' => [
                    'width' => 960,
                    'height' => 960,
                    'crop' => false,
                    'quality' => 90,
                ],
                '2x' => [
                    'width' => 960 * 2,
                    'height' => 960 * 2,
                    'crop' => false,
                    'quality' => 90,
                ]
            ]
        ]
    ]
];
