Fix LCARS fonts

theme variable is an array. Using pihole.webtheme().

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
RD WebDesign
2023-06-03 01:06:57 -03:00
parent 27ff8199ed
commit 62e9bcf2c9

View File

@@ -75,7 +75,7 @@ is_secure = mg.request_info.https or pihole.rev_proxy()
<? end ?>
<!-- Theme fonts -->
<? if theme == 'lcars' then ?>
<? if pihole.webtheme() == 'lcars' then ?>
<link rel="stylesheet" href="<?=pihole.fileversion('style/vendor/fonts/ubuntu-mono/ubuntu-mono.css')?>">
<link rel="stylesheet" href="<?=pihole.fileversion('style/vendor/fonts/antonio/antonio.css')?>">
<? else ?>