@ -6,7 +6,6 @@
require "includes/default-start.php";
require "includes/seemore.php";
require "includes/custompanelMD.php";
echo '<a href="about.php"><h1>About</h1></a>';
customPageMD("About/about.md");
customPageMD("About/about.md", "about.php", "About");
require "includes/default-end.php";
?>
@ -1,9 +1,10 @@
<?php
function customPageMD($page) {
function customPageMD($page, $sourceLink, $sourceName) {
require_once 'vendor/autoload.php';
include_once "includes/mdutils.php";
// ../includes/mdutils.php
echo '<div class="article article-headerless">';
echo "<a href=\"$sourceLink\"><h1>$sourceName</h1></a>';
loadmdfile($page);
echo '</div>';
}