<?php

return [

    'theme_path' => base_path('themes'),

    'plugin_path' => base_path('plugins'),

    'attachments_disk' => env('ATTACHMENTS_DISK', 'attachments'),

    'attachments_url_prefix' => env('ATTACHMENTS_URL_PREFIX', 'attachments'),

    // TTF/OTF used when rendering template covers (Chinese-capable font recommended).
    'cover_font' => env('LARABLOG_COVER_FONT'),

    /*
    | New posts default to markdown; imported sablog posts stay html
    | unless import_convert_html_to_markdown / --convert-to-markdown.
    */
    'default_content_format' => env('LARABLOG_DEFAULT_CONTENT_FORMAT', 'markdown'),
    'import_content_format' => env('LARABLOG_IMPORT_CONTENT_FORMAT', 'html'),

    'allowed_attachment_mimes' => [
        'image/jpeg',
        'image/png',
        'image/gif',
        'image/webp',
        'image/svg+xml',
        'application/pdf',
        'text/plain',
        'application/zip',
        'application/x-zip-compressed',
        'audio/mpeg',
        'video/mp4',
    ],

];
