Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions site/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@
$pageConfig = $page->getConfig(); // the frontmatter config
?>
<!doctype html>
<html lang="en">
<html lang="<?php echo $page->getConfig()['lang']; ?>">
<head>
<base href="<?= $site->getWebPath() ?>/"/>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Reboot CMS demo page">
<meta name="author" content="shaack.com">
<meta name="description" content="<?php echo $page->getConfig()['description']; ?>">
<meta name="author" content="<?php echo $page->getConfig()['author']; ?>">

<title>Reboot CMS</title>
<title><?php echo $page->getConfig()['title']; ?></title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link href="./assets/styles/screen.css" rel="stylesheet">
</head>
<body data-bs-theme="dark">
<body data-bs-theme="<?php echo $page->getConfig()['bootstrap-theme']; ?>">
<?php $navbarConfig = $site->getConfig()['navbar']; ?>
<nav class="navbar navbar-expand-md fixed-top bg-dark navbar-dark">
<nav class="navbar navbar-expand-md fixed-top bg-<?php echo $page->getConfig()['bootstrap-theme']; ?> navbar-<?php echo $page->getConfig()['bootstrap-theme']; ?>">
<div class="container-fluid">
<a class="navbar-brand me-5 text-muted" href="<?= $site->getWebPath() ?>/"><?php echo $navbarConfig["brand"] ?></a>
<?php if(!@$pageConfig["hide-nav"]) { ?>
Expand Down