remove todo and debug for logo generation
authorEduardo <[email protected]>
Mon, 6 Nov 2023 22:16:17 +0000 (23:16 +0100)
committerEduardo <[email protected]>
Mon, 6 Nov 2023 22:16:17 +0000 (23:16 +0100)
page-generator/index.php

index 34486958d6ed11ba726cd4205ca3783ae1908ed0..97d78808b6548b26cfa07f520b32d6d41b6911cd 100644 (file)
@@ -88,9 +88,7 @@ $menu_list = json_decode($menu_list, true);
 // generate header area
 $generator->writeToFile($header_path, '<section id="header">');
 
-// TODO: logo?
-print_r($image_list);
-
+// logo (if any, else probably just a broken image with nothing inside)
 $logo = $image_list[array_search("logo", array_column($image_list, "id"))];
 $generator->writeToFile($header_path, '<img src="' . $logo['path'] . '" alt="' . $logo['description'] . '" />');