diff --git a/web/templates/index.html b/web/templates/index.html index deca291..c949323 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -14,16 +14,16 @@
- + {{ if .AbsoluteHumidity }} +

Calculated Absolute Humidity

+

Absolute Humidity: {{ .AbsoluteHumidity }} g/m³

+ {{ end }} {{ if .WeatherData }}

Weather Data

Temperature: {{ .WeatherData.Temperature }}°C

Relative Humidity: {{ .WeatherData.RelativeHumidity }}%

Absolute Humidity: {{ .WeatherData.AbsoluteHumidity }} g/m³

{{ end }} - {{ if .AbsoluteHumidity }} -

Calculated Absolute Humidity

-

Absolute Humidity: {{ .AbsoluteHumidity }} g/m³

- {{ end }} + \ No newline at end of file