Daddyfix's modified time fix.
This commit is contained in:
parent
f3bbd134fc
commit
c71a6e3c04
@ -150,6 +150,7 @@
|
|||||||
} else {
|
} else {
|
||||||
$page['path'] = str_replace($docs_path . '/', "", $file);
|
$page['path'] = str_replace($docs_path . '/', "", $file);
|
||||||
$page['markdown'] = file_get_contents($file);
|
$page['markdown'] = file_get_contents($file);
|
||||||
|
$page['modified'] = filemtime($file);
|
||||||
$page['content'] = MarkDownExtended($page['markdown']);
|
$page['content'] = MarkDownExtended($page['markdown']);
|
||||||
$page['title'] = clean_url($file, 'Title');
|
$page['title'] = clean_url($file, 'Title');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user