changes to title and metadata html for x509/pgp key

merge-requests/28/head
Matthew 2021-07-04 19:04:42 -04:00
parent 54586ad760
commit 1e31422113
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 4 additions and 2 deletions

View File

@ -47,9 +47,10 @@ export default class Keys extends Route {
res.status(200).send(`
<head>
<title>x509 Certificate ${x509.data.serialNumber}</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta property="og:title" content="x509 Certificate Information">
<meta property="og:title" content="x509 Certificate ${x509.data.serialNumber}">
<meta property="og:type" content="website">
<meta property="og:description" content="x509 Certificate Information for ${x509.data.subject.commonName}">
</head>
@ -103,9 +104,10 @@ export default class Keys extends Route {
res.status(200).send(`
<head>
<title>PGP Key ${pgp.data.keyID}</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta property="og:title" content="PGP Key Information">
<meta property="og:title" content="PGP Key ${pgp.data.keyID}">
<meta property="og:type" content="website">
<meta property="og:description" content="PGP Key Information for ${pgp.data.fullName}">
</head>