Repository navigation
Expand file tree
/
Copy pathconfig.example.php
More file actions
110 lines (98 loc) · 2.77 KB
/
Copy pathconfig.example.php
File metadata and controls
110 lines (98 loc) · 2.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?php
/**
* Configuration for server-side backend
*
* Refer to https://markdownmaster.com/docs/site-configuration.html for full details
*
* @version 6.0.0-alpha
* @copyright 2025-2026 eVAL Agency
* @license MIT
* @link https://markdownmaster.com
* @package MarkdownMasterCMS
*/
return [
// Set to the fully resolved URL of the site root
// Include "https://" or "http://" as necessary.
// Trailing slash is not required here.
'host' => 'http://localhost',
// Set to the path to the CMS directory from the site root
// Include both leading and trailing slashes.
// eg: if your site is located in public_html/cms, then set this to `/cms/`
'webpath' => '/',
// Default view to show for "home".
// This should be TYPE / SLUG of the page.
// No leading or trailing slashes.
'defaultView' => 'pages/home',
// Set the theme to use for the frontend
'theme' => 'basic-blog',
// List any extras (plugins) to enable here
// Extras should be installed in the /extras/ directory
// 'my-extra',
'extras' => [
],
// Set to true to enable DEBUG mode on backend and frontend.
'debug' => false,
// Increase (or change) each time you do a major update to assets.
// This is used to invalidate browser caches.
'version' => '1',
// Set to True to enable the service worker and PWA
// IMPORTANT - when actively developing this site, it is recommended to set this to false
// because otherwise the service worker will heavily cache assets.
'serviceWorker' => false,
// Web App Manifest (PWA) settings.
// Each theme ships its own defaults in themes/<theme>/settings.php ("pwa" block).
// Keys defined here override the theme's. Refer to the PWA docs for details:
// https://markdownmaster.com/docs/pwa.html
/*
'pwa' => [
'name' => 'My Site',
'short_name' => 'MySite',
'display' => 'standalone',
'theme_color' => '#1e3a5d',
'background_color' => '#ffffff',
// Optional. Defaults to webpath (e.g. "/").
'start_url' => '/',
],
*/
// Uncomment and configure to enable email sending
/*
'email' => [
'from' => 'contact@yourdomain.tld',
'fromName' => 'Your Name',
'dsn' => 'smtp://contact@yourdomain.tld:password@mail.yourdomain.tld',
],
*/
// Uncomment to enable forms
/*
'forms' => [
'contact' => [
'fields' => [
'name' => [
'label' => 'Your Name',
'type' => 'text',
'required' => true
],
'email' => [
'label' => 'Email Address',
'type' => 'email',
'required' => true
],
'message' => [
'label' => 'Message',
'type' => 'textarea',
'placeholder' => 'I am contacting you in regards to...',
'required' => true
]
],
'actions' => [
[
'action' => 'email',
'to' => 'you@yourdomain.tld',
'subject' => 'New Contact Submission',
'template' => 'contact',
],
],
],
],
*/
];