From fb87ef11929e1810db405e92f665473f414b84e3 Mon Sep 17 00:00:00 2001 From: Duncan Mackenzie Date: Sun, 9 Jun 2024 16:23:36 -0700 Subject: [PATCH] Updating the order fulfillment article to point at the new post --- content/Blog/order-fulfillment.md | 2 ++ themes/hello-friend-ng/assets/scss/_chroma.scss | 14 +++++++------- .../layouts/partials/homegrown-analytics.html | 3 ++- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/content/Blog/order-fulfillment.md b/content/Blog/order-fulfillment.md index fd77fc52..7d9b2623 100644 --- a/content/Blog/order-fulfillment.md +++ b/content/Blog/order-fulfillment.md @@ -129,6 +129,8 @@ else At this point, the function returns a 200 OK message, and the webhook handling work is done. By pushing a message into my incoming order queue, the next Function will get triggered. +{{% note %}}Reading the documentation, I realized I hadn't handled the possibility of duplicate events (receiving the same event multiple times), so [I walked through those changes in a new article](/blog/handling-duplicate-stripe-events/).{{% /note %}} + ## Get the image and create a custom link The second function is setup with a QueueTrigger, which means it is called whenever a new message arrives in a specific Azure Storage Queue. diff --git a/themes/hello-friend-ng/assets/scss/_chroma.scss b/themes/hello-friend-ng/assets/scss/_chroma.scss index 7cffb464..7583f190 100644 --- a/themes/hello-friend-ng/assets/scss/_chroma.scss +++ b/themes/hello-friend-ng/assets/scss/_chroma.scss @@ -36,13 +36,13 @@ /* LiteralStringRegex */ .chroma .sr { color: #ed9d13 } /* LiteralStringSingle */ .chroma .s1 { color: #ed9d13 } /* LiteralStringSymbol */ .chroma .ss { color: #ed9d13 } -/* LiteralNumber */ .chroma .m { color: #3677a9 } -/* LiteralNumberBin */ .chroma .mb { color: #3677a9 } -/* LiteralNumberFloat */ .chroma .mf { color: #3677a9 } -/* LiteralNumberHex */ .chroma .mh { color: #3677a9 } -/* LiteralNumberInteger */ .chroma .mi { color: #3677a9 } -/* LiteralNumberIntegerLong */ .chroma .il { color: #3677a9 } -/* LiteralNumberOct */ .chroma .mo { color: #3677a9 } +/* LiteralNumber */ .chroma .m { color: #3f8ecb } +/* LiteralNumberBin */ .chroma .mb { color: #3f8ecb } +/* LiteralNumberFloat */ .chroma .mf { color: #3f8ecb } +/* LiteralNumberHex */ .chroma .mh { color: #3f8ecb } +/* LiteralNumberInteger */ .chroma .mi { color: #3f8ecb } +/* LiteralNumberIntegerLong */ .chroma .il { color: #3f8ecb } +/* LiteralNumberOct */ .chroma .mo { color: #3f8ecb } /* OperatorWord */ .chroma .ow { color: #6ab825; font-weight: bold } /* Comment */ .chroma .c { color: #999999; font-style: italic } /* CommentHashbang */ .chroma .ch { color: #999999; font-style: italic } diff --git a/themes/hello-friend-ng/layouts/partials/homegrown-analytics.html b/themes/hello-friend-ng/layouts/partials/homegrown-analytics.html index 5bc19afa..f1d35373 100644 --- a/themes/hello-friend-ng/layouts/partials/homegrown-analytics.html +++ b/themes/hello-friend-ng/layouts/partials/homegrown-analytics.html @@ -1,6 +1,6 @@ {{- $rootPath := .Site.Params.homegrownAnalytics }}
@@ -20,6 +20,7 @@ img.height = "1"; img.width = "1"; img.className="analytics-pixel"; + img.alt = ""; if (referrer) { img.src += "&referrer=" + encodeURIComponent(referrer); }