Add Categories and Tags with new configs

This commit is contained in:
prototypa
2022-08-30 11:37:19 -04:00
parent 4859dcee87
commit 49c6c5611b
26 changed files with 434 additions and 217 deletions

View File

@ -15,6 +15,8 @@ const {
description = "",
image: _image = defaultImage,
canonical,
noindex = false,
nofollow = false
} = Astro.props;
const image =
@ -34,6 +36,8 @@ const image =
{canonical &&
<link rel="canonical" href={canonical} />}
<meta name="robots" content={`${noindex ? "noindex": "index"}, ${nofollow ? "nofollow" : "follow"}`} />
<!-- Google / Search Engine Tags -->
<meta itemprop="name" content={title} />
<meta itemprop="description" content={description} />
@ -62,4 +66,5 @@ const image =
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;700&display=swap" rel="stylesheet" />
<!-- Google Site Verification -->
{SITE.googleSiteVerificationId && <meta name="google-site-verification" content={SITE.googleSiteVerificationId} />}
{SITE.googleSiteVerificationId &&
<meta name="google-site-verification" content={SITE.googleSiteVerificationId} />}