Update about with contributing tab

This commit is contained in:
billz
2023-11-06 06:38:35 +00:00
parent cbc8e2fdec
commit f20e4a879a
2 changed files with 11 additions and 1 deletions

View File

@@ -11,6 +11,14 @@ function DisplayAbout()
$strContent = file_get_contents($_SERVER['DOCUMENT_ROOT'].'/BACKERS.md');
$sponsorsHtml = $Parsedown->text($strContent);
echo renderTemplate("about", compact('sponsorsHtml'));
$strContent = file_get_contents($_SERVER['DOCUMENT_ROOT'].'/CONTRIBUTING.md');
$contributingHtml = $Parsedown->text($strContent);
echo renderTemplate(
"about", compact(
'sponsorsHtml',
'contributingHtml'
)
);
}