Only link to gpg key if it exists in the filesystem
This commit is contained in:
parent
d77f2302ba
commit
9abe4a6110
2 changed files with 4 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -21,3 +21,4 @@ yarn-error.log
|
|||
/.idea
|
||||
/.vscode
|
||||
ray.php
|
||||
/public/gpg.key
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Add table
Reference in a new issue