Add update time
This commit is contained in:
parent
4dbb86145b
commit
047757a324
|
@ -80,7 +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'));
|
$lastMod = date("d-m-Y H:i", filemtime('content/' . urldecode($dir) . '/' . urldecode($file) . '.md'));
|
||||||
}
|
}
|
||||||
require 'tpl/header.html';
|
require 'tpl/header.html';
|
||||||
require 'tpl/aside.html';
|
require 'tpl/aside.html';
|
||||||
|
|
Loading…
Reference in New Issue