mirror of
https://github.com/phpmon/website
synced 2026-04-04 10:50:10 +02:00
Replace filemtime w/ link to actual changelog
This commit is contained in:
@@ -14,12 +14,8 @@ public function __invoke(): View
|
||||
$markdown = file_get_contents(resource_path('markdown/privacy_policy.md'));
|
||||
$content = (new CommonMarkConverter)->convert($markdown);
|
||||
|
||||
$timestamp = filemtime(resource_path('markdown/privacy_policy.md'));
|
||||
$modified = date('Y-m-d', $timestamp);
|
||||
|
||||
return view('privacy-policy', [
|
||||
'content' => $content,
|
||||
'lastUpdated' => $modified,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user