Projects are now able to read from a content dir, posted two projects
This commit is contained in:
@@ -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 = "
|
||||
|
||||
Reference in New Issue
Block a user