Add update time
This commit is contained in:
parent
c249609c76
commit
4dbb86145b
|
@ -627,5 +627,3 @@ body>footer {
|
||||||
text-decoration: underline
|
text-decoration: underline
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*# sourceMappingURL=dark.min.css.map */
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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';
|
||||||
|
|
|
@ -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>
|
|
@ -1,7 +1,8 @@
|
||||||
<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
|
||||||
|
2020 by Knah Tsaeb
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue