diff --git a/website/layouts/devices/single.html b/website/layouts/devices/single.html index 5ba472cc5a..f5f455bd40 100644 --- a/website/layouts/devices/single.html +++ b/website/layouts/devices/single.html @@ -2,7 +2,7 @@ {{ $siteUrl := .Site.BaseURL }} -
+
{{ $image := .Resources.GetMatch (printf "images/%s" .Params.photos.main) }} @@ -21,12 +21,13 @@

{{ .Params.name }}

{{ with (index .Params.resellerURLs 0) }} - Buy Device + Buy Device {{ end }} {{with .Params.producturl}} - Partner Webpage + Partner Webpage {{ end }} - Contact Partner + Contact Partner
@@ -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 }}
@@ -62,6 +67,12 @@

Specification

+ + {{ end }}