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; color: #00f;
text-decoration: underline text-decoration: underline
} }
} }
/*# sourceMappingURL=dark.min.css.map */

View File

@ -34,7 +34,7 @@ body {
max-width: 1300px; max-width: 1300px;
} }
h1 { h2 {
text-shadow: 2px 2px 3px black, 0 0 0.1rem; 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("</h2>", ' <a href="#" class="backTop">⬆️</a></h2>', $body);
$body = str_replace("</h3>", ' <a href="#" class="backTop">⬆️</a></h3>', $body); $body = str_replace("</h3>", ' <a href="#" class="backTop">⬆️</a></h3>', $body);
$menu = makeMenu($dir); $menu = makeMenu($dir);
$lastMod = date("d-m-Y H:i", filectime('content/' . urldecode($dir) . '/' . urldecode($file) . '.md'));
} }
require 'tpl/header.html'; require 'tpl/header.html';
require 'tpl/aside.html'; require 'tpl/aside.html';

View File

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

View File

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

View File

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