From 14d616d1c946595e6f9af7b6b0b2e6eb972009f3 Mon Sep 17 00:00:00 2001 From: pipeline Date: Tue, 21 Jul 2026 04:01:15 +0300 Subject: [PATCH] feat: strengthen operator template and localized SEO UX --- i18n/de.yaml | 88 +++++++++++++++++++ i18n/en.yaml | 49 +++++++++++ layouts/_default/baseof.html | 2 +- layouts/_default/single.html | 24 ++--- layouts/index.html | 25 ++++-- layouts/partials/age-gate-banner.html | 9 +- layouts/partials/faq-accordion.html | 5 +- layouts/partials/footer.html | 12 ++- layouts/partials/head-seo.html | 4 +- layouts/partials/header.html | 12 ++- layouts/partials/nav.html | 8 +- layouts/partials/payment-table.html | 23 ++--- layouts/partials/related-pages.html | 4 +- .../partials/responsible-gambling-block.html | 32 ++++--- layouts/partials/schema-jsonld.html | 33 +++++-- layouts/partials/trust-badges.html | 6 +- layouts/shortcodes/cta.html | 20 +++-- layouts/slots/list.html | 10 +-- 18 files changed, 271 insertions(+), 95 deletions(-) create mode 100644 i18n/de.yaml diff --git a/i18n/de.yaml b/i18n/de.yaml new file mode 100644 index 0000000..f3685b8 --- /dev/null +++ b/i18n/de.yaml @@ -0,0 +1,88 @@ +skipToContent: "Zum Inhalt springen" +playNow: "Jetzt spielen" +visitCasino: "Zum Casino" +readMore: "Mehr erfahren" +selectRegion: "Region auswählen" +toggleMenu: "Navigationsmenü öffnen" +home: "Startseite" +primaryNavigation: "Hauptnavigation" +seeBonuses: "Boni ansehen" +startHere: "Direkt einsteigen" +explore: "Entdecken" +featuredGames: "Ausgewählte Spiele" +allGames: "Alle Spiele" +gameLibrary: "Spielebibliothek" +noGames: "Neue Spiele erscheinen hier, sobald sie zur Plattform hinzugefügt werden." +readyToPlay: "Bereit zum Spielen?" +playSlots: "Slots spielen" +playerHelp: "Spielerhilfe" +frequentlyAskedQuestions: "Häufig gestellte Fragen" +faqIntro: "Öffnen Sie eine Frage, um eine direkte Antwort zu Konto, Boni, Zahlungen, Verifizierung und Spielerschutz zu erhalten." +viewAllFaq: "Alle Fragen ansehen" + +footerExplore: "Entdecken" +footerLegal: "Rechtliches & Sicherheit" +footerResponsible: "Verantwortungsvoll spielen" +cookieSettings: "Cookie-Einstellungen" +affiliateDisclosure: "Partnerhinweis" +allRightsReserved: "Alle Rechte vorbehalten." +gambleResponsibly: "Verantwortungsvoll spielen" +licenceStatement: "%s ist durch %s lizenziert und reguliert (Lizenznr. %s)." +overAgeOnly: "Nur für Erwachsene" +sslSecured: "SSL-gesichert" +licensedOperator: "Lizenzierter iGaming-Anbieter" + +ageGateTitle: "Bitte bestätigen Sie Ihr Alter" +ageGateConfirm: "Ich bestätige, dass ich volljährig bin" +ageGateExit: "Ich bin minderjährig – Seite verlassen" +ageGateDescription: "Diese Plattform ist ausschließlich für Personen ab %d Jahren bestimmt. Mit dem Betreten bestätigen Sie, dass Sie das gesetzliche Glücksspielalter in Ihrem Land erreicht haben." +ageGateNotice: "Glücksspiel durch Minderjährige ist verboten. Bitte spielen Sie verantwortungsvoll." + +cookieTitle: "Ihre Privatsphäre ist uns wichtig" +cookieAcceptAll: "Alle akzeptieren" +cookieReject: "Nicht notwendige ablehnen" +cookieManage: "Verwalten" +cookieSave: "Auswahl speichern" +cookieNecessary: "Notwendig" +cookieAnalytics: "Analyse" +cookieMarketing: "Marketing" + +filterSearch: "Suchen" +filterProvider: "Anbieter" +filterCategory: "Kategorie" +filterAllProviders: "Alle Anbieter" +filterAllCategories: "Alle Kategorien" +filterReset: "Filter zurücksetzen" + +rgNeedHelp: "Brauchen Sie Hilfe? Kontaktieren Sie" +rgFindSupport: "Lokale Hilfe finden" +rgCompactIntro: "Diese Plattform ist ausschließlich für Erwachsene ab %d Jahren bestimmt. Glücksspiel ist Unterhaltung und keine Einnahmequelle." +rgFullIntro: "Glücksspiel muss Unterhaltung bleiben. Diese Plattform ist ausschließlich für Erwachsene ab %d Jahren bestimmt. Setzen Sie nie mehr ein, als Sie verlieren können, und jagen Sie Verlusten nicht hinterher." +rgControlTools: "Hilfsmittel zur Kontrolle" +rgDepositLimits: "Einzahlungslimits — begrenzen Sie Ihre Einzahlungen pro Tag, Woche oder Monat." +rgLossLimits: "Verlust- und Einsatzlimits — begrenzen Sie Einsätze oder Nettoverluste für einen Zeitraum." +rgRealityChecks: "Reality Checks — Erinnerungen an Ihre bisherige Spielzeit." +rgTimeouts: "Auszeiten — sperren Sie den Zugang für einen gewählten Zeitraum." +rgSelfExclusion: "Selbstausschluss — sperren Sie den Zugang längerfristig, einschließlich anwendbarer nationaler Systeme." +rgRegionRecommends: "Hilfe für Ihre aktuelle Region:" +rgSupportIntro: "Weitere marktspezifische Hilfsangebote finden Sie unten." + +relatedPages: "Verwandte Seiten" +lastUpdated: "Zuletzt aktualisiert" +prosCons: "Vor- und Nachteile im Überblick" +ourVerdict: "Unser Fazit" +kycByRegion: "Verifizierungsdokumente nach Region" +kycByRegionIntro: "Die KYC-Anforderungen unterscheiden sich je nach Markt. Prüfen Sie unten die Dokumente für Ihre Region." +region: "Region" +requiredKyc: "Erforderliche Dokumente (KYC)" +readyToStart: "Bereit für den Einstieg?" +termsResponsible: "· Es gelten die AGB · Bitte verantwortungsvoll spielen" +paymentMethod: "Methode" +paymentType: "Typ" +minimumDeposit: "Mindesteinzahlung" +maximumDeposit: "Maximale Einzahlung" +processingTime: "Bearbeitungszeit" +fees: "Gebühren" +paymentAvailabilityNote: "Verfügbarkeit und Limits gelten für den aktuellen Markt und können je nach Zahlungsmethode abweichen." +minimumAge: "Mindestalter" +supportOrganisation: "Hilfsorganisation" diff --git a/i18n/en.yaml b/i18n/en.yaml index 15f0503..2d5d15b 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -12,6 +12,21 @@ visitCasino: "Visit Casino" readMore: "Read more" selectRegion: "Select your region" toggleMenu: "Toggle navigation menu" +home: "home" +primaryNavigation: "Primary navigation" +seeBonuses: "See bonuses" +startHere: "Start here" +explore: "Explore" +featuredGames: "Featured games" +allGames: "All games" +gameLibrary: "Game library" +noGames: "New games will appear here as they are added to the platform." +readyToPlay: "Ready to play?" +playSlots: "Play slots" +playerHelp: "Player help" +frequentlyAskedQuestions: "Frequently asked questions" +faqIntro: "Open each question for a direct answer about accounts, bonuses, payments, verification and safer play." +viewAllFaq: "View all questions" # Footer footerExplore: "Explore" @@ -20,11 +35,18 @@ footerResponsible: "Play Responsibly" cookieSettings: "Cookie settings" affiliateDisclosure: "Affiliate disclosure" allRightsReserved: "All rights reserved." +gambleResponsibly: "Gamble responsibly" +licenceStatement: "%s is licensed and regulated by %s (Licence No. %s)." +overAgeOnly: "Adults only" +sslSecured: "SSL secured" +licensedOperator: "Licensed iGaming operator" # Age gate ageGateTitle: "Please confirm your age" ageGateConfirm: "I confirm I am of legal age" ageGateExit: "I am under age — leave" +ageGateDescription: "This platform is for users aged %d+ only. By entering, you confirm that you meet the legal gambling age in your jurisdiction." +ageGateNotice: "Underage gambling is prohibited. Please gamble responsibly." # Cookie consent cookieTitle: "We value your privacy" @@ -51,3 +73,30 @@ rgFindSupport: "Find local support" # Common relatedPages: "Related pages" lastUpdated: "Last updated" +prosCons: "Pros and cons at a glance" +ourVerdict: "Our verdict" +kycByRegion: "Verification documents by region" +kycByRegionIntro: "KYC requirements vary by market. Review the documents required for your region below." +region: "Region" +requiredKyc: "Required documents (KYC)" +readyToStart: "Ready to get started?" +termsResponsible: "only · T&Cs apply · Please gamble responsibly" +paymentMethod: "Method" +paymentType: "Type" +minimumDeposit: "Min. deposit" +maximumDeposit: "Max. deposit" +processingTime: "Processing time" +fees: "Fees" +paymentAvailabilityNote: "Availability and limits are shown for the current market and may differ by payment method." +minimumAge: "Min. age" +supportOrganisation: "Support organisation" +rgCompactIntro: "This platform is for adults aged %d+ only. Gambling is entertainment, never a way to make money." +rgFullIntro: "Gambling must stay entertainment. This platform is for adults aged %d+ only. Never spend more than you can afford to lose, chase losses or gamble to escape stress or debt." +rgControlTools: "Tools to stay in control" +rgDepositLimits: "Deposit limits — cap how much you can add per day, week or month." +rgLossLimits: "Loss and wager limits — set a ceiling on stakes or net losses over a period." +rgRealityChecks: "Reality checks — reminders of how long you have been playing." +rgTimeouts: "Time-outs — suspend access for a chosen period." +rgSelfExclusion: "Self-exclusion — block access for a longer period, including applicable national schemes." +rgRegionRecommends: "Support available for your current region:" +rgSupportIntro: "Other market-specific services are listed below." diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 3fa305f..2f1d580 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,5 +1,5 @@ - + diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 88c3711..e51611b 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,36 +1,38 @@ {{ define "main" }} +{{- $noCtaSlugs := slice "faq" "responsible-gambling" "terms" "privacy-policy" "cookie-policy" "affiliate-disclosure" "about" "editorial-policy" -}} +{{- $hideCta := or .Params.hideCta (in $noCtaSlugs .Slug) (eq .Section "authors") -}} {{ partial "breadcrumbs.html" . }}

{{ .Params.h1 | default .Title }}

{{ with .Params.description }}

{{ . }}

{{ end }} - {{ if not .Lastmod.IsZero }}

Last updated {{ .Lastmod.Format "2 January 2006" }}

{{ end }} + {{ if not .Lastmod.IsZero }}

{{ i18n "lastUpdated" }} {{ .Lastmod | time.Format ":date_long" }}

{{ end }}
{{ with .Content }}
{{ . }}
{{ end }} {{ if or .Params.pros .Params.cons }}
-

Pros & cons at a glance

+

{{ i18n "prosCons" }}

{{ partial "pros-cons-table.html" . }}
{{ end }} {{ if .Params.showRatingWidget }}
-

Our verdict

+

{{ i18n "ourVerdict" }}

{{ partial "rating-widget.html" . }}
{{ end }} {{ if .Params.showKycByLocale }}
-

Verification documents by region

-

KYC requirements vary by market. Choose your region in the header to highlight your row; the full list is below.

+

{{ i18n "kycByRegion" }}

+

{{ i18n "kycByRegionIntro" }}

- + {{- range .Site.Data.locales -}} @@ -46,7 +48,7 @@ {{ if .Params.showFaqAccordion }}
-

Frequently asked questions

+

{{ i18n "frequentlyAskedQuestions" }}

{{ partial "faq-accordion.html" . }}
{{ end }} @@ -57,11 +59,11 @@ {{ end }} - {{ if not .Params.hideCta }} + {{ if not $hideCta }}
-

Ready to get started?

-

{{ .Site.Data.brand.ageRestrictionDefault }}+ only. T&Cs apply. Please gamble responsibly.

-
{{ partial "cta-button.html" (dict "page" . "text" "Visit Casino" "size" "lg") }}
+

{{ i18n "readyToStart" }}

+

{{ .Site.Data.brand.ageRestrictionDefault }}+ {{ i18n "termsResponsible" }}

+
{{ partial "cta-button.html" (dict "page" . "text" (i18n "visitCasino") "size" "lg") }}
{{ end }} diff --git a/layouts/index.html b/layouts/index.html index 5bac6b5..65b4de1 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -9,10 +9,10 @@

{{ .Params.h1 | default .Title }}

{{ .Params.description | default $brand.tagline }}

- {{ partial "cta-button.html" (dict "page" . "text" "Play Now" "size" "lg") }} - {{ with site.GetPage "bonuses" }}See bonuses{{ end }} + {{ partial "cta-button.html" (dict "page" . "text" (i18n "playNow") "size" "lg") }} + {{ with site.GetPage "bonuses" }}{{ i18n "seeBonuses" }}{{ end }}
-

{{ $brand.ageRestrictionDefault }}+ only • T&Cs apply • Please gamble responsibly

+

{{ $brand.ageRestrictionDefault }}+ {{ i18n "termsResponsible" }}

{{ $hero := resources.Get "images/hero.png" }} @@ -57,16 +57,27 @@ {{ end }} +{{/* The homepage uses the same accessible FAQ source and accordion as /faq/. */}} +
+
+

{{ i18n "playerHelp" }}

+

{{ i18n "frequentlyAskedQuestions" }}

+

{{ i18n "faqIntro" }}

+
+ {{ partial "faq-accordion.html" . }} + {{ with site.GetPage "faq" }}

{{ i18n "viewAllFaq" }} →

{{ end }} +
+ {{/* Quick shortcuts */}}
-

Start here

+

{{ i18n "startHere" }}

{{- range slice "registration" "slots" "bonuses" -}} {{ with site.GetPage . }} {{ .LinkTitle }}

{{ .Params.description | truncate 90 }}

- Explore → + {{ i18n "explore" }} →
{{ end }} {{- end -}} @@ -78,8 +89,8 @@ {{ with $featured }}
-

Featured games

- {{ with site.GetPage "slots" }}All games →{{ end }} +

{{ i18n "featuredGames" }}

+ {{ with site.GetPage "slots" }}{{ i18n "allGames" }} →{{ end }}
{{- range first 4 . -}} diff --git a/layouts/partials/age-gate-banner.html b/layouts/partials/age-gate-banner.html index 3a2e536..54b3a12 100644 --- a/layouts/partials/age-gate-banner.html +++ b/layouts/partials/age-gate-banner.html @@ -9,16 +9,11 @@ {{ $brand.ageRestrictionDefault }}+

{{ i18n "ageGateTitle" }}

-

- This website is intended for users aged {{ $brand.ageRestrictionDefault }}+ only. - By entering, you confirm you meet the legal gambling age in your jurisdiction. Gamble responsibly. -

+

{{ printf (i18n "ageGateDescription") $brand.ageRestrictionDefault }}

-

- Underage gambling is an offence. This is an independent affiliate resource, not the operator. -

+

{{ i18n "ageGateNotice" }}

diff --git a/layouts/partials/faq-accordion.html b/layouts/partials/faq-accordion.html index 60e335c..2b2b9f9 100644 --- a/layouts/partials/faq-accordion.html +++ b/layouts/partials/faq-accordion.html @@ -4,7 +4,10 @@ Alpine (when present) layers single-open accordion behaviour on top via x-bind:open + the native `toggle` event — never hiding content with x-cloak. The FAQPage JSON-LD is emitted separately by schema-jsonld.html. */ -}} -{{- $faqs := sort .Site.Data.faq "weight" -}} +{{- $faqKey := printf "faq.%s" .Language.Lang -}} +{{- $faqs := index .Site.Data $faqKey -}} +{{- if not $faqs -}}{{- $faqs = .Site.Data.faq -}}{{- end -}} +{{- $faqs = sort $faqs "weight" -}}
{{- range $i, $f := $faqs -}}
{{/* Explore */}} -
diff --git a/layouts/partials/payment-table.html b/layouts/partials/payment-table.html index 9311091..b1e9a2b 100644 --- a/layouts/partials/payment-table.html +++ b/layouts/partials/payment-table.html @@ -6,7 +6,7 @@ {{- $page := .page -}} {{- $brand := $page.Site.Data.brand -}} {{- $methods := $page.Site.Data.payment_methods -}} -{{- $locale := .locale -}} +{{- $locale := .locale | default $page.Language.LanguageCode -}} {{- if $locale -}} {{- $f := slice -}} {{- range $methods -}}{{ if in .availableLocales $locale }}{{ $f = $f | append . }}{{ end }}{{- end -}} @@ -14,18 +14,19 @@ {{- end -}} {{- $curr := "£" -}} -{{- with where $page.Site.Data.locales "locale" $brand.defaultLocale -}}{{- $curr = (index . 0).currencySymbol -}}{{- end -}} +{{- with where $page.Site.Data.locales "locale" $locale -}}{{- $curr = (index . 0).currencySymbol -}}{{- end -}} +{{- $isWithdrawal := eq $page.Slug "withdrawal" -}}
RegionRequired documents (KYC)
{{ i18n "region" }}{{ i18n "requiredKyc" }}
- - - - - - + + + {{ if not $isWithdrawal }}{{ end }} + {{ if not $isWithdrawal }}{{ end }} + + @@ -38,8 +39,8 @@ - - + {{ if not $isWithdrawal }}{{ end }} + {{ if not $isWithdrawal }}{{ end }} @@ -47,4 +48,4 @@
MethodTypeMin. depositMax. depositProcessing timeFees{{ i18n "paymentMethod" }}{{ i18n "paymentType" }}{{ i18n "minimumDeposit" }}{{ i18n "maximumDeposit" }}{{ i18n "processingTime" }}{{ i18n "fees" }}
{{ .type }}{{ $curr }}{{ .minDeposit }}{{ $curr }}{{ .maxDeposit }}{{ $curr }}{{ .minDeposit }}{{ $curr }}{{ .maxDeposit }}{{ .processingTime }} {{ .fees }}
-

Availability and limits vary by region and are shown for your selected market. Select your region in the header to update this table.

+

{{ i18n "paymentAvailabilityNote" }}

diff --git a/layouts/partials/related-pages.html b/layouts/partials/related-pages.html index 69ae8af..ea0dbc5 100644 --- a/layouts/partials/related-pages.html +++ b/layouts/partials/related-pages.html @@ -15,13 +15,13 @@ {{- end -}} {{- with $found -}}
- + diff --git a/layouts/partials/responsible-gambling-block.html b/layouts/partials/responsible-gambling-block.html index 04ddaa2..af9d110 100644 --- a/layouts/partials/responsible-gambling-block.html +++ b/layouts/partials/responsible-gambling-block.html @@ -6,8 +6,9 @@ {{- $variant := .variant | default "full" -}} {{- $brand := $page.Site.Data.brand -}} {{- $locales := $page.Site.Data.locales -}} +{{- $currentLocale := $page.Language.LanguageCode | default $brand.defaultLocale -}} {{- $default := "" -}} -{{- with where $locales "locale" $brand.defaultLocale -}}{{- $default = index . 0 -}}{{- end -}} +{{- with where $locales "locale" $currentLocale -}}{{- $default = index . 0 -}}{{- end -}} {{- $age := $brand.ageRestrictionDefault -}} {{- $orgName := "your national support service" -}} {{- $orgUrl := "#" -}} @@ -18,36 +19,33 @@ {{- end -}} {{- if eq $variant "compact" -}} -

This site is intended for adults aged {{ $age }}+ only. Gambling should be entertainment, never a way to make money.

-

Need help? Contact {{ $orgName }}.

+

{{ printf (i18n "rgCompactIntro") $age }}

+

{{ i18n "rgNeedHelp" }} {{ $orgName }}.

{{- else -}}

- Gambling must stay fun. This site is intended for adults aged - {{ $age }}+ only. Never bet more than you can afford to - lose, never chase losses, and never gamble to escape stress or debt. If it stops being enjoyable, - it is time to stop. + {{ printf (i18n "rgFullIntro") $age }}

-

Tools to stay in control

+

{{ i18n "rgControlTools" }}

    -
  • Deposit limits — cap how much you can add to your account per day, week or month.
  • -
  • Loss & wager limits — set a ceiling on stakes or net losses over a period.
  • -
  • Reality checks — on-screen reminders of how long you have been playing.
  • -
  • Time-outs — lock yourself out for 24 hours up to several weeks.
  • -
  • Self-exclusion — block access for months or years, including national schemes.
  • +
  • {{ i18n "rgDepositLimits" | safeHTML }}
  • +
  • {{ i18n "rgLossLimits" | safeHTML }}
  • +
  • {{ i18n "rgRealityChecks" | safeHTML }}
  • +
  • {{ i18n "rgTimeouts" | safeHTML }}
  • +
  • {{ i18n "rgSelfExclusion" | safeHTML }}
-

Find local support

+

{{ i18n "rgFindSupport" }}

- Your currently selected region recommends + {{ i18n "rgRegionRecommends" }} {{ $orgName }}. - Support services for every market we cover are listed below — all offer free, confidential help. + {{ i18n "rgSupportIntro" }}

- + {{- range $locales -}} diff --git a/layouts/partials/schema-jsonld.html b/layouts/partials/schema-jsonld.html index 0602cae..dab8cac 100644 --- a/layouts/partials/schema-jsonld.html +++ b/layouts/partials/schema-jsonld.html @@ -22,9 +22,14 @@ -}} -{{- else if eq $type "FAQPage" -}} +{{- end -}} + +{{- if or .IsHome (eq $type "FAQPage") .Params.showFaqAccordion -}} + {{- $faqKey := printf "faq.%s" .Language.Lang -}} + {{- $faqs := index .Site.Data $faqKey -}} + {{- if not $faqs -}}{{- $faqs = .Site.Data.faq -}}{{- end -}} {{- $items := slice -}} - {{- range .Site.Data.faq -}} + {{- range $faqs -}} {{- $items = $items | append (dict "@type" "Question" "name" .question @@ -38,9 +43,11 @@ -}} -{{- else if eq $type "Article" -}} - {{- /* The About page is an editorial review, so we emit a Review with the - promoted operator as the reviewed item. */ -}} +{{- end -}} + +{{- if and (eq $type "Article") .Params.showRatingWidget -}} + {{- $authorName := .Params.authorName | default $brand.name -}} + {{- $authorType := cond (isset .Params "authorName") "Person" "Organization" -}} {{- $data := dict "@context" "https://schema.org" "@type" "Review" @@ -48,10 +55,22 @@ "url" .Permalink "datePublished" (.Date.Format "2006-01-02") "dateModified" (.Lastmod.Format "2006-01-02") + "author" (dict "@type" $authorType "name" $authorName) + "publisher" (dict "@type" "Organization" "name" $brand.name "logo" (dict "@type" "ImageObject" "url" ($brand.logoPath | absURL))) + "itemReviewed" (dict "@type" "Organization" "name" $brand.name) + "reviewRating" (dict "@type" "Rating" "ratingValue" (.Params.rating | default $brand.ratingValue) "bestRating" 5 "worstRating" 1) + -}} + +{{- else if eq $type "Article" -}} + {{- $data := dict + "@context" "https://schema.org" + "@type" "Article" + "headline" (.Params.h1 | default .Title) + "url" .Permalink + "datePublished" (.Date.Format "2006-01-02") + "dateModified" (.Lastmod.Format "2006-01-02") "author" (dict "@type" "Organization" "name" $brand.name) "publisher" (dict "@type" "Organization" "name" $brand.name "logo" (dict "@type" "ImageObject" "url" ($brand.logoPath | absURL))) - "itemReviewed" (dict "@type" "Organization" "name" $brand.legalOperatorName) - "reviewRating" (dict "@type" "Rating" "ratingValue" $brand.ratingValue "bestRating" 5 "worstRating" 1) -}} {{- end -}} diff --git a/layouts/partials/trust-badges.html b/layouts/partials/trust-badges.html index e947889..c335f3b 100644 --- a/layouts/partials/trust-badges.html +++ b/layouts/partials/trust-badges.html @@ -5,7 +5,7 @@
{{ $brand.ageRestrictionDefault }} - Over-age play only + {{ i18n "overAgeOnly" }} @@ -13,10 +13,10 @@ - SSL secured + {{ i18n "sslSecured" }} - Independent affiliate — not the operator + {{ i18n "licensedOperator" }}
diff --git a/layouts/shortcodes/cta.html b/layouts/shortcodes/cta.html index 9333988..1346490 100644 --- a/layouts/shortcodes/cta.html +++ b/layouts/shortcodes/cta.html @@ -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. */ -}} -
- {{ partial "cta-button.html" (dict - "page" .Page - "text" (.Get "text" | default "Play Now") - "style" (.Get "style") - "size" (.Get "size") - "subid" (.Get "subid")) }} -
+{{- $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 -}} +
+ {{ partial "cta-button.html" (dict + "page" .Page + "text" (.Get "text" | default (i18n "playNow")) + "style" (.Get "style") + "size" (.Get "size") + "subid" (.Get "subid")) }} +
+{{- end -}} diff --git a/layouts/slots/list.html b/layouts/slots/list.html index 56ee7a0..ab4636c 100644 --- a/layouts/slots/list.html +++ b/layouts/slots/list.html @@ -10,19 +10,19 @@ {{ with .Content }}
{{ . }}
{{ end }} {{ $games := sort (where .Site.RegularPages "Section" "slots") "Title" }} -
+
{{ if $games }} {{ partial "games-filter.html" (dict "page" . "games" $games) }} {{ else }} -

No games have been added yet. Add page bundles under content/slots/games/<slug>/index.md.

+

{{ i18n "noGames" }}

{{ end }}
{{ if not .Params.hideCta }}
-

Ready to spin?

-

{{ .Site.Data.brand.ageRestrictionDefault }}+ only. T&Cs apply. Please gamble responsibly.

-
{{ partial "cta-button.html" (dict "page" . "text" "Play the Slots" "size" "lg") }}
+

{{ i18n "readyToPlay" }}

+

{{ .Site.Data.brand.ageRestrictionDefault }}+ {{ i18n "termsResponsible" }}

+
{{ partial "cta-button.html" (dict "page" . "text" (i18n "playSlots") "size" "lg") }}
{{ end }}
RegionMin. ageSupport organisation
{{ i18n "region" }}{{ i18n "minimumAge" }}{{ i18n "supportOrganisation" }}