From 2981eff303d8452e4c3637a0fb94f0311caabf3b Mon Sep 17 00:00:00 2001 From: Nicholas Jitkoff Date: Mon, 20 Jun 2022 07:49:01 -0700 Subject: [PATCH] Add theme color --- netlify/edge-functions/metadata.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/netlify/edge-functions/metadata.js b/netlify/edge-functions/metadata.js index 29ed788..5d16cfb 100644 --- a/netlify/edge-functions/metadata.js +++ b/netlify/edge-functions/metadata.js @@ -42,6 +42,7 @@ export default async (request, context) => { if (info.iw) content.push(``); if (info.ih) content.push(``); } + if (info.c) { content.push(``); } if (info.v) { if (!info.v.startsWith("http")) info.v = atob(info.v.replace(/=/g,'')); content.push(``); @@ -57,7 +58,7 @@ export default async (request, context) => { content.push(``); } } - content.push(``); + content.push(``); console.log(["Metadata Request", JSON.stringify(info), geo, ua].join('\t'));