Add update time
This commit is contained in:
parent
c249609c76
commit
4dbb86145b
|
@ -627,5 +627,3 @@ body>footer {
|
|||
text-decoration: underline
|
||||
}
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=dark.min.css.map */
|
|
@ -34,7 +34,7 @@ body {
|
|||
max-width: 1300px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
h2 {
|
||||
text-shadow: 2px 2px 3px black, 0 0 0.1rem;
|
||||
}
|
||||
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<aside class="menu">
|
||||
<nav>
|
||||
<h1>HisMA</h1>
|
||||
<?php echo $menu;?>
|
||||
<h2>HisMA</h2>
|
||||
<?= $menu;?>
|
||||
</nav>
|
||||
</aside>
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue