diff --git a/public/css/2021.css b/public/assets/2021.css similarity index 100% rename from public/css/2021.css rename to public/assets/2021.css diff --git a/public/index.php b/public/index.php index d0dd437..f407db4 100644 --- a/public/index.php +++ b/public/index.php @@ -71,8 +71,8 @@ $router->use('/', function($response) { $response->setPoweredBy('Makai+Index'); }); -$router->get('/header-bgs.json', function() { - return json_encode(FM_BGS); +$router->get('/header-bgs.json', function() use ($ctx) { + return $ctx->getDefaultHeaders(); }); $router->get('/now-listening', function() use ($ctx) { diff --git a/tpl/ascii.php b/tpl/ascii.php index 86522d2..ee2ca0c 100644 --- a/tpl/ascii.php +++ b/tpl/ascii.php @@ -144,7 +144,7 @@ $self->block('container', function($self) {
diff --git a/tpl/master.php b/tpl/master.php index 4b91f1a..72c2768 100644 --- a/tpl/master.php +++ b/tpl/master.php @@ -1,17 +1,17 @@ - + <?=($self->header_title ?? 'flash.moe');?> - - - - + + + +
- +
header_offset) && $self->header_offset > 0) echo " style=\"padding-bottom: {$self->header_offset}px\""; ?>>
- +
diff --git a/tpl/whois.php b/tpl/whois.php index 66c09a4..ad39de9 100644 --- a/tpl/whois.php +++ b/tpl/whois.php @@ -11,8 +11,8 @@ $self->block('container', function($self) { ?>
- - + +