From fca4e0ce3ea2a2b3500428074ce36b90e053c3c5 Mon Sep 17 00:00:00 2001 From: Nico Verbruggen Date: Wed, 18 Feb 2026 12:04:26 +0100 Subject: [PATCH] Replace filemtime w/ link to actual changelog --- app/Http/PrivacyPolicyController.php | 4 ---- resources/views/privacy-policy.blade.php | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/Http/PrivacyPolicyController.php b/app/Http/PrivacyPolicyController.php index 8009ce9..b173029 100644 --- a/app/Http/PrivacyPolicyController.php +++ b/app/Http/PrivacyPolicyController.php @@ -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, ]); } } diff --git a/resources/views/privacy-policy.blade.php b/resources/views/privacy-policy.blade.php index 328ad20..4e94071 100644 --- a/resources/views/privacy-policy.blade.php +++ b/resources/views/privacy-policy.blade.php @@ -45,7 +45,7 @@ margin-bottom: 3px; } -

This document was last updated on: {{ $lastUpdated }}.

+

You can check out the full edit history of this document on GitHub.

{!! $content !!}