From 8fb045a81040b18390926c85063ed802f5bef4a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C5=82osz=20Sm=C3=B3=C5=82ka?= Date: Tue, 27 Aug 2024 18:13:31 +0200 Subject: [PATCH] docs: Add Plausible (#483) --- docs/content/pubsubs/redisstream.md | 2 ++ docs/layouts/partials/favicon.html | 5 ++++- netlify.toml | 6 ++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/content/pubsubs/redisstream.md b/docs/content/pubsubs/redisstream.md index 310a52ec7..43a2514c3 100644 --- a/docs/content/pubsubs/redisstream.md +++ b/docs/content/pubsubs/redisstream.md @@ -55,6 +55,8 @@ Example: Example: {{% load-snippet-partial file="src-link/_examples/pubsubs/redisstream/main.go" first_line_contains="subClient := redis.NewClient" last_line_contains="panic(err)" padding_after="1" %}} +{{% /render-md %}} + #### Publishing {{% render-md %}} diff --git a/docs/layouts/partials/favicon.html b/docs/layouts/partials/favicon.html index 7ec15eea5..497a0f9ed 100644 --- a/docs/layouts/partials/favicon.html +++ b/docs/layouts/partials/favicon.html @@ -1 +1,4 @@ - \ No newline at end of file + + + + diff --git a/netlify.toml b/netlify.toml index 312023176..257feb027 100644 --- a/netlify.toml +++ b/netlify.toml @@ -15,3 +15,9 @@ [context.branch-deploy.environment] HUGO_VERSION = "0.110.0" HUGO_ENABLEGITINFO = "true" + +[[redirects]] + from = "/api/event" + to = "https://academy-api.threedots.tech/api/event" + force = true + status = 200