Typ: {{ range $index, $value := .Params.used_for }}{{ if $index }}, {{end}}{{ . }}{{end}}
{{ with .Params.material }}Material: {{ . }}
{{ end }} - {{ with .Params.offer }}{{ end }} {{ with .Params.ornament }}Ornament: {{ . }}
{{ end }} {{ with .Params.description }}{{ . }}
{{ end }}Art. Nr.: {{ .Params.article_id }}
diff --git a/themes/neff/layouts/partials/catalog.html b/themes/neff/layouts/partials/catalog.html index e098a6c..a7a0a68 100644 --- a/themes/neff/layouts/partials/catalog.html +++ b/themes/neff/layouts/partials/catalog.html @@ -17,6 +17,13 @@ src="{{ $imageMd.RelPermalink }}" /> {{- partial "schema/img.html" (dict "image" . "ctx" $ctx) -}} {{ end }} + {{ with .ctx.Params.offer }} +