From 0540e04c77864186ce48193456634b897a11f5aa Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Fri, 6 Sep 2024 14:38:26 +0200 Subject: Add mobile version --- includes/template_head_start.php | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) (limited to 'includes/template_head_start.php') diff --git a/includes/template_head_start.php b/includes/template_head_start.php index 150e423..31a5fb4 100644 --- a/includes/template_head_start.php +++ b/includes/template_head_start.php @@ -1,20 +1,5 @@ - - - - - - - <?= htmlentities($PAGE_TITLE ?? "") ?> - Mystic House Fansite - +$__mobile = include __DIR__ . "/mobile-detect.php"; + +include __DIR__ . "/" . ($__mobile ? "mobile" : "desktop") . "/template_head_start.php"; -- cgit v1.2.3