diff weather_server/templates/index.html @ 41:4af79d69b12e v0.2.0

Use units better suited for science.
author Paul Fisher <paul@pfish.zone>
date Tue, 01 Apr 2025 16:04:52 -0400
parents e5a03d63b3d9
children
line wrap: on
line diff
--- a/weather_server/templates/index.html	Tue Apr 01 15:54:42 2025 -0400
+++ b/weather_server/templates/index.html	Tue Apr 01 16:04:52 2025 -0400
@@ -21,8 +21,8 @@
                     <span>
                         {%- set reading = location.latest() -%}
                         {%- if reading -%}
-                            {{ reading.temp_f|int -}}
-                            &nbsp;°F
+                            {{ reading.temp_k|int -}}
+                            &nbsp;K
                         {%- else -%}
                             ???
                         {%- endif -%}