From 9abe4a61101af9fc65d4a3c449fe28bc77c24cd5 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Fri, 23 Aug 2024 18:27:20 +0100 Subject: [PATCH 1/2] Only link to gpg key if it exists in the filesystem --- .gitignore | 1 + resources/views/master.blade.php | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 5a9b11c9..4d463ad6 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ yarn-error.log /.idea /.vscode ray.php +/public/gpg.key diff --git a/resources/views/master.blade.php b/resources/views/master.blade.php index 3907b5d3..5cabe238 100644 --- a/resources/views/master.blade.php +++ b/resources/views/master.blade.php @@ -20,7 +20,9 @@ - + @if (File::exists(public_path('gpg.key'))) + + @endif