From 573742743218616c3caee4da614e6f9c57fa35ba Mon Sep 17 00:00:00 2001 From: towards-a-new-leftypol Date: Sun, 5 Sep 2021 18:20:02 +0000 Subject: [PATCH] theme change to yotsuba --- inc/instance-config.php | 2 +- templates/themes/catalog/theme.php | 9 --------- templates/themes/categories/frames.html | 2 +- templates/themes/categories/news.html | 2 +- 4 files changed, 3 insertions(+), 12 deletions(-) diff --git a/inc/instance-config.php b/inc/instance-config.php index 0025b96e..a0991e81 100644 --- a/inc/instance-config.php +++ b/inc/instance-config.php @@ -367,7 +367,7 @@ $config['stylesheets']['AnonsDarkRed'] = 'anons_dark_red.css'; $config['stylesheets']['BunkerLike'] = 'bunker_like.css'; $config['stylesheets']['Post-Left'] = 'dead.css'; -$config['default_stylesheet'] = array('Dark Red', $config['stylesheets']['Dark Red']); +$config['default_stylesheet'] = array('Yotsuba', 'yotsuba.css'); /* * ==================== * Javascript diff --git a/templates/themes/catalog/theme.php b/templates/themes/catalog/theme.php index 57c7585b..5980482c 100644 --- a/templates/themes/catalog/theme.php +++ b/templates/themes/catalog/theme.php @@ -454,15 +454,6 @@ $board_link = $config['root'] . $board['dir']; } - $required_scripts = array('js/jquery.min.js', 'js/jquery.mixitup.min.js', - 'js/catalog.js'); - - // Include scripts that haven't been yet included - foreach($required_scripts as $i => $s) { - if (!in_array($s, $config['additional_javascript'])) - $config['additional_javascript'][] = $s; - } - $template_config = Array( 'settings' => $this->settings, 'config' => $config, diff --git a/templates/themes/categories/frames.html b/templates/themes/categories/frames.html index 400d3a3f..35c30dbc 100644 --- a/templates/themes/categories/frames.html +++ b/templates/themes/categories/frames.html @@ -5,7 +5,7 @@ - +