{{ $image := .Resources.GetMatch (printf "images/%s" .Params.photos.main) }}
@@ -21,12 +21,13 @@
{{ .Params.name }}
@@ -37,20 +38,24 @@
Specification
- {{with .Params.sensors}} - Sensors: {{ range . }} {{ . }} {{ end }}
{{ end }}
- {{with .Params.ipcode}}- Enclosure: {{ . }}
{{ end }}
+ {{with .Params.sensors}} - Sensors: {{ range . }} {{ . }} {{ end }}
{{ end }}
+ {{with .Params.ipcode}}- Enclosure: {{ . }}
+ {{ end }}
{{with .Params.dimensions}}
- -
- Dimensions: {{ .length }} x {{ .width }} x {{ .height }} mm
-
{{ end }}
+ -
+ Dimensions: {{ .length }} x {{ .width }} x {{ .height }} mm
+
{{ end }}
{{with .Params.dimensions.diameter}}- Diameter: {{ . }}
{{ end }}
- {{with .Params.operatingconditions.temperature}}- Temperature: {{ .min }}°C to {{ .max }}°C
{{ end }}
+ {{with .Params.operatingconditions.temperature}}- Temperature: {{ .min }}°C to {{ .max
+ }}°C
{{ end }}
{{with .Params.weight}}- Weight: {{ . }} grams
{{ end }}
- {{with .Params.codecs}}- Frequency plans: {{ range $key, $value := . }}{{ $key }} {{ end }}
{{ end }}
+ {{with .Params.codecs}}- Frequency plans: {{ range $key, $value := . }}{{ $key }} {{ end }}
{{ end }}