Only link to gpg key if it exists in the filesystem
Some checks failed
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
Laravel Pint / Laravel Pint (pull_request) Has been cancelled

This commit is contained in:
Jonny Barnes 2024-08-23 18:27:20 +01:00
parent d77f2302ba
commit 9abe4a6110
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
2 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View file

@ -21,3 +21,4 @@ yarn-error.log
/.idea
/.vscode
ray.php
/public/gpg.key

View file

@ -20,7 +20,9 @@
<link rel="micropub" href="{{ route('micropub-endpoint') }}">
<link rel="webmention" href="{{ config('app.url') }}/webmention">
<link rel="shortcut icon" href="{{ config('app.url') }}/assets/img/memoji-orange-bg-small-fs8.png">
<link rel="pgpkey" href="/assets/jonnybarnes-public-key-ecc.asc">
@if (File::exists(public_path('gpg.key')))
<link rel="pgpkey" href="{{ config('app.url')}}/gpg.key">
@endif
</head>
<body class="grid">
<header id="site-header">