Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/aerohub/hugo-identity-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/footer_scripts.html4
-rw-r--r--layouts/partials/header.html3
2 files changed, 4 insertions, 3 deletions
diff --git a/layouts/partials/footer_scripts.html b/layouts/partials/footer_scripts.html
index b97f45f..7a04e84 100644
--- a/layouts/partials/footer_scripts.html
+++ b/layouts/partials/footer_scripts.html
@@ -24,3 +24,7 @@
{{ range .Site.Params.custom_js }}
<script src="{{ . | absURL }}"></script>
{{ end }}
+
+ {{ with .Site.Params.contact.captcha }}
+ <script src='https://www.google.com/recaptcha/api.js' async defer></script>
+ {{ end }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 59022e8..6c84fae 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -36,7 +36,4 @@
<!--[if lte IE 9]><link rel="stylesheet" href="/assets/css/ie9.css" /><![endif]-->
<noscript><link rel="stylesheet" href="/assets/css/noscript.css" /></noscript>
- {{ with .Site.Params.contact.captcha }}
- <script src='https://www.google.com/recaptcha/api.js' async defer></script>
- {{ end }}
</head>