Projects are now able to read from a content dir, posted two projects

This commit is contained in:
2026-10-01 13:53:29 -06:00
parent 7369d0a534
commit 5967222ec0
14 changed files with 148 additions and 28 deletions
+16
View File
@@ -9,6 +9,22 @@ function head($title) {
</head>";
}
function head_css($title, $css, $dots) {
$css_links = "";
foreach($css as $css_item) {
$css_links .= "<link rel='stylesheet' href='". "$dots/css/$css_item" ."'";
}
return "
<head>
<meta charset='UTF-8' />
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
<script src='https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4'></script>
<title>" . $title . "</title>
$css_links
</head>";
}
function navbar($highlighted_box) {
$selected = "