Stop parsing if the author isn't found

This commit is contained in:
20xd6 2022-08-09 14:10:44 -04:00
parent 5d7b4cc121
commit 470773721a

View File

@ -31,9 +31,6 @@
echo "<div class =\"byline\">\n" echo "<div class =\"byline\">\n"
. read_md($byline_path) . read_md($byline_path)
."</div><!--End byline div-->\n"; ."</div><!--End byline div-->\n";
} else {
echo "<h2>No byline</h2>";
echo "<p>$byline_path</p>";
} }
fclose($author_name_raw); fclose($author_name_raw);
} }