From e41be2b62a93fe2905261f5ea729744fe6a5c8e3 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 17 Jan 2025 19:34:08 +0100 Subject: Use Altcha to hinder bots spamming account creation. --- views/head.pug | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'views/head.pug') diff --git a/views/head.pug b/views/head.pug index 7489651..f388ce5 100644 --- a/views/head.pug +++ b/views/head.pug @@ -8,6 +8,14 @@ link(rel="stylesheet" href="/style.css") if SITE_THEME link(rel="stylesheet" href="/themes/"+SITE_THEME) +mixin altcha_script() + if ALTCHA + script(async defer type="module" src="/altcha.min.js") + +mixin altcha_widget() + if ALTCHA + altcha-widget(challengeurl="/altcha-challenge" hidelogo hidefooter auto="onsubmit" style="--altcha-border-radius:0") + mixin social(title,description,game) meta(property="og:title" content=title) meta(property="og:type" content="website") -- cgit v1.2.3