feat: Hugo engine for iGaming affiliate template (layouts, assets, i18n, verified data, CI build script)

This commit is contained in:
pipeline
2026-07-16 06:07:22 +03:00
parent b9385a1f72
commit 1816ff2093
58 changed files with 5631 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
{{- /* {{< 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>
+9
View File
@@ -0,0 +1,9 @@
{{- /* Paired shortcode for an inline, no-JS FAQ item:
{{< faq-item question="How do I ...?" >}}
Markdown answer body.
{{< /faq-item >}} */ -}}
{{- $q := .Get "question" | default (.Get 0) -}}
<details class="my-3 rounded-lg border border-secondary/10 p-4">
<summary class="cursor-pointer font-semibold text-secondary">{{ $q }}</summary>
<div class="prose-content mt-3">{{ .Inner | markdownify }}</div>
</details>
+5
View File
@@ -0,0 +1,5 @@
{{- /* {{< payment-table >}} or {{< payment-table locale="de-DE" >}}
Renders data/payment_methods.yaml via partials/payment-table.html. */ -}}
<div class="my-6">
{{ partial "payment-table.html" (dict "page" .Page "locale" (.Get "locale")) }}
</div>