{{ partial "head.html" . }} {{ $sku := .File.ContentBaseName }}

{{.Description}}

Price: {{ lang.NumFmt 2 (div (float .Params.Price) 100) }} {{ $.Site.Params.currency }}

Published: {{ dateFormat "Monday, Jan 2, 2006" .Date }} Last modified: {{ dateFormat "Monday, Jan 2, 2006" .Params.LastMod }}
{{.Content}}

SKU: {{ $sku }}

{{ if (fileExists (printf "data/price/%s.json" $sku)) }}

Stripe price ID {{ index (index .Site.Data.price $sku) "id" }}

{{ else }}

stripe-sync.sh needs to be run since price ID for checkout is not found.

{{ end }} {{ with .Resources.ByType "image" }} {{ range $index, $element := . }} {{ $image := .Fill "300x300" }} {{ $image.Title }} {{ end }} {{ end }} {{ range .Params.Youtube }} {{ end }} {{ partial "footer.html" . }}