-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
28 lines (20 loc) · 775 Bytes
/
config.php
File metadata and controls
28 lines (20 loc) · 775 Bytes
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
<?php
use \Illuminate\Support\Str;
return [
'production' => false,
'baseUrl' => '',
'title' => 'content-md - The web, spoken fluently to AI agents',
'description' => 'content-md is an open specification for optimized content exchange. Serve high-fidelity textual representation to AI agents through standard HTTP content negotiation.',
'github' => 'https://github.com/OneOffTech/contentmd',
'collections' => [],
// URL helper functions
'url' => function ($page, $path, $absolute = true) {
if(Str::startsWith($path, 'http')){
return $path;
}
if($absolute){
return rtrim($page->baseUrl, '/') . '/' . trimPath($path);
}
return '/' . trimPath($path);
},
];