feat: strengthen operator template and localized SEO UX

This commit is contained in:
pipeline
2026-07-21 04:01:15 +03:00
parent 363810024b
commit 14d616d1c9
18 changed files with 271 additions and 95 deletions
+12 -8
View File
@@ -1,10 +1,14 @@
{{- /* {{< cta text="Play Now" style="primary" size="lg" subid="custom" >}}
Reuses partials/cta-button.html so the affiliate link is built in ONE place. */ -}}
<div class="my-6">
{{ partial "cta-button.html" (dict
"page" .Page
"text" (.Get "text" | default "Play Now")
"style" (.Get "style")
"size" (.Get "size")
"subid" (.Get "subid")) }}
</div>
{{- $noCtaSlugs := slice "faq" "responsible-gambling" "terms" "privacy-policy" "cookie-policy" "affiliate-disclosure" "about" "editorial-policy" -}}
{{- $hideCta := or .Page.Params.hideCta (in $noCtaSlugs .Page.Slug) (eq .Page.Section "authors") -}}
{{- if not $hideCta -}}
<div class="my-6">
{{ partial "cta-button.html" (dict
"page" .Page
"text" (.Get "text" | default (i18n "playNow"))
"style" (.Get "style")
"size" (.Get "size")
"subid" (.Get "subid")) }}
</div>
{{- end -}}