aboutsummaryrefslogtreecommitdiff
path: root/app/FreshRSS.php
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2023-03-04 15:05:58 +0100
committerGravatar GitHub <noreply@github.com> 2023-03-04 15:05:58 +0100
commit068d18b69bae8456669293a8b7dfe9afd827e03d (patch)
treed24e9d3804824c065a7d6d7a9e1b45d163fce476 /app/FreshRSS.php
parentd3966befafab3fe65e753d0ab2166a8bf5fb0d75 (diff)
Add: <meta name="theme-color"> (#5105)
* implemented * themes' metadata.json * fix * fix * retrigger tests * Update lib/Minz/View.php Co-authored-by: Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com> * Update lib/Minz/View.php Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Update lib/Minz/View.php Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Update lib/Minz/View.php Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * fix --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> Co-authored-by: Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com>
Diffstat (limited to 'app/FreshRSS.php')
-rw-r--r--app/FreshRSS.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/FreshRSS.php b/app/FreshRSS.php
index 76ced841c..dd16fad6c 100644
--- a/app/FreshRSS.php
+++ b/app/FreshRSS.php
@@ -141,6 +141,10 @@ class FreshRSS extends Minz_FrontController {
FreshRSS_View::prependStyle(Minz_Url::display(FreshRSS::getThemeFileUrl($theme_id, $filename)));
}
}
+
+ if (!empty($theme['theme-color'])) {
+ FreshRSS_View::appendThemeColors($theme['theme-color']);
+ }
}
//Use prepend to insert before extensions. Added in reverse order.
if (Minz_Request::controllerName() !== 'index') {