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
|
<?php /* Copyright (c) 2024 Freya Murphy */
// ENVIRONMENT
//
// devlopment - do not cache any assets
// - use http host provided by user
//
// production - use generated timestamps for each file
// - hard code http host to 'domain' lang string
//
define('ENVIRONMENT', 'devlopment');
// CONFIG
//
// config values needed across the website
define('CONFIG', array(
/* core config settings */
'domain' => 'freya.cat',
'allowed_hosts' => ['freya.cat', 'www.freya.cat'],
'base_path' => '/',
'theme_color' => '#181818',
'git_url' => 'https://g.freya.cat/freya',
/* route overides */
'routes' => array(
'' => 'home',
'robots.txt' => '_meta/robots',
'sitemap.xml' => '_meta/sitemap',
'manifest.json' => '_meta/manifest',
'rss.xml' => 'blog/rss',
),
/* css to load on each route */
'style' => array(
'home' => 'css/home.css',
'blog' => ['css/blog.css', 'css/prism.css'],
'error' => 'css/error.css',
),
/* js to load on each route */
'js' => array(
'blog' => 'js/prism.js',
),
));
|