From 5b132616db8e388cf722d06bf9fa395e022be1e3 Mon Sep 17 00:00:00 2001 From: bensonpaul Date: Tue, 16 Jul 2024 15:32:02 +0530 Subject: [PATCH] Add Recaptcha v2 invisible version to register and contact pages --- config.toml | 7 +++++-- layouts/partials/footer-new.html | 9 +++++---- layouts/partials/header.html | 4 ++-- layouts/section/register.html | 7 ++++--- static/js/main-new.js | 32 ++++++++++++++++++-------------- 5 files changed, 34 insertions(+), 25 deletions(-) diff --git a/config.toml b/config.toml index 36799a4..e1894e3 100644 --- a/config.toml +++ b/config.toml @@ -19,8 +19,7 @@ unsafe = true Description = "The first-in-class comprehensive digital healthcare suite of patient advocacy tools for patients and consumers who are determined to be empowered in their health care journey. Unblock Health is revolutionizing patient autonomy and healthcare consumerism." logotitle ="Comprehensive Healthcare Suite of Patient Advocacy Services designed for Patients and Consumers - Unblock Health" footersectionaboutcontent ="Unblock Health rejects traditional barriers to patient health information. We empower patients to play an active role in their care and help HIM professionals deliver a positive experience." - recaptchaSiteKey = "6LcwogEqAAAAAI2QtVzQNHKN2kE2zXkodWEUzHfD" -recaptchaSecretKey = "6LcwogEqAAAAAKLRTlccbN_3GVKb7O9SsCWsQxKe" + recaptchasitekey ="6LefMhAqAAAAAInXVvgjN5D_gPpa86RCAldVy7sm" recaptchaurl = "https://www.google.com/recaptcha/api.js" # Navigation [params.navigation] @@ -259,3 +258,7 @@ recaptchaSecretKey = "6LcwogEqAAAAAKLRTlccbN_3GVKb7O9SsCWsQxKe" protocol = "http://" [date] date = ["enddate", ":default"] +[security] + enableInlineShortcodes = false + [security.funcs] + getenv = ['^HUGO_'] \ No newline at end of file diff --git a/layouts/partials/footer-new.html b/layouts/partials/footer-new.html index 6268b5f..7c33738 100644 --- a/layouts/partials/footer-new.html +++ b/layouts/partials/footer-new.html @@ -32,7 +32,8 @@

Contact Us

- + + This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 775210d..6eb162f 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -72,8 +72,8 @@ {{/* */}} - - + + diff --git a/layouts/section/register.html b/layouts/section/register.html index 0d7a472..a229bcc 100644 --- a/layouts/section/register.html +++ b/layouts/section/register.html @@ -2,7 +2,7 @@ {{ $context := . }} {{- partialCached "head" (dict "activeMenu" "Register" "context" $context ) "register-page-key" -}} - +
@@ -37,14 +37,14 @@

{{ . }}

-
+ - +
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.