Add update time

This commit is contained in:
Knah Tsaeb 2021-08-09 15:54:21 +02:00
parent c249609c76
commit 4dbb86145b
6 changed files with 18 additions and 13 deletions

View File

@ -626,6 +626,4 @@ body>footer {
color: #00f;
text-decoration: underline
}
}
/*# sourceMappingURL=dark.min.css.map */
}

View File

@ -34,7 +34,7 @@ body {
max-width: 1300px;
}
h1 {
h2 {
text-shadow: 2px 2px 3px black, 0 0 0.1rem;
}

View File

@ -80,6 +80,7 @@ if (empty($_SESSION['login']) or $_SESSION['login'] !== true) {
$body = str_replace("</h2>", ' <a href="#" class="backTop">⬆️</a></h2>', $body);
$body = str_replace("</h3>", ' <a href="#" class="backTop">⬆️</a></h3>', $body);
$menu = makeMenu($dir);
$lastMod = date("d-m-Y H:i", filectime('content/' . urldecode($dir) . '/' . urldecode($file) . '.md'));
}
require 'tpl/header.html';
require 'tpl/aside.html';

View File

@ -1,6 +1,6 @@
<aside class="menu">
<nav>
<h1>HisMA</h1>
<?php echo $menu;?>
<h2>HisMA</h2>
<?= $menu;?>
</nav>
</aside>
</aside>

View File

@ -1,8 +1,9 @@
<footer class="footer">
<div>
<hr>
<a href="https://forge.leslibres.org/Knah-Tsaeb/MyNoVi">MyNoVi</a> is under <a href="/LICENSE">AGPLv3</a> | Made in 2020 by Knah Tsaeb
</div>
<div>
<hr>
<a href="https://forge.leslibres.org/Knah-Tsaeb/MyNoVi">MyNoVi</a> is under <a href="/LICENSE">AGPLv3</a> | Made in
2020 by Knah Tsaeb
</div>
</footer>
</body>

View File

@ -1,5 +1,5 @@
<aside class="toc">
<?php echo $toc;?>
<?= $toc;?>
</aside>
<div class="linkTop">
@ -7,5 +7,10 @@
</div>
<main class="main">
<?php echo $body;?>
<?= $body;?>
<p>
Last mod :
<?= $lastMod; ?>
</p>
</main>