1
0
mirror of https://github.com/alexandrev/xslt-lab.git synced 2026-09-22 13:43:14 +00:00

Fix adsense partial names (head.html, in-article.html)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
alexandrev-tibco
2026-04-08 14:45:35 +02:00
parent 8e8b7eacec
commit e5769d8811
2 changed files with 0 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
{{- $client := .Site.Params.adsense.client -}}
{{- if and $client (ne hugo.Environment "development") -}}
<meta name="google-adsense-account" content="{{ $client }}">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client={{ $client }}" crossorigin="anonymous"></script>
{{- end -}}