Merge pull request #1446 from RaspAP/feat/contributing

Update about page with contributing tab
This commit is contained in:
Bill Zimmerman
2023-11-06 17:48:59 +01:00
committed by GitHub
5 changed files with 31 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'
)
);
}