feat: Hugo engine for iGaming affiliate template (layouts, assets, i18n, verified data, CI build script)
This commit is contained in:
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user