1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2025-01-03 10:25:00 +01:00

set title for add to home screen icon

* closes #2
This commit is contained in:
Matthias Kretschmann 2018-05-10 21:02:01 +02:00
parent f61f4fda95
commit 3d1ba46d49
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -12,6 +12,8 @@ const Head = ({ meta, location }) => {
defaultTitle={`${title.toLowerCase()} { ${tagline.toLowerCase()} }`}
titleTemplate={`%s // ${title.toLowerCase()} { ${tagline.toLowerCase()} }`}
>
<meta name="apple-mobile-web-app-title" content={title.toLowerCase()} />
{location.hostname !== 'matthiaskretschmann.com' && (
<meta content="noindex,nofollow" name="robots" />
)}