diff --git a/netlify.toml b/netlify.toml index d44ddf3..0fc9abc 100644 --- a/netlify.toml +++ b/netlify.toml @@ -37,6 +37,14 @@ to = "https://fosstodon.org/.well-known/webfinger?resource=acct:hauleth@fosstodon.org" status = 200 +[[redirects]] + from = "/js/script.js" + to = "https://plausible.io/js/script.js" + +[[redirects]] + from = "/api/event" + to = "https://plausible.io/api/event" + [[plugins]] package = "netlify-plugin-webmentions" diff --git a/templates/index.html b/templates/index.html index e4e18f2..8f561eb 100644 --- a/templates/index.html +++ b/templates/index.html @@ -34,7 +34,7 @@ {% endblock copyright %} {% block script %} - + {% endblock script %} {% block css %}