From 2f00e1e46e02616b879d82547cc404f4844a4875 Mon Sep 17 00:00:00 2001 From: Miraty Date: Thu, 8 Jun 2023 21:58:14 +0200 Subject: [PATCH] Fix HTML title when no site title --- mkht.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mkht.php b/mkht.php index 54284b6..48c2cd7 100755 --- a/mkht.php +++ b/mkht.php @@ -31,7 +31,6 @@ define('DESTINATION', $args[2] ?? 'dns'); if (file_exists(SITE . '/config.ini')) $config = parse_ini_file(SITE . '/config.ini'); -$config['title'] ??= ''; $config['header'] ??= false; $config['author'] ??= NULL; $config['base-url'] ??= []; @@ -68,7 +67,7 @@ ob_start(); ?> - <?= $config['title'] ?> + <?= $config['title'] ?? '' ?> urn:publicid: