diff --git a/template.liquid b/template.liquid index 6effdab..2a18d45 100644 --- a/template.liquid +++ b/template.liquid @@ -1,94 +1,73 @@ -
-
- fetched: {{ fetched_at }} - {% for pollen in pollen %} - pollen index -
-

forecast at {{pollen.forecast_date}}

+
+
+
+ {{ current.temp }}°F + feels like {{ current.feels_like }}°F
- - - - {% for period in pollen.periods %} - - {% endfor %} - - - - - {% for period in pollen.periods %} - - {% endfor %} - - -
{{period.period}}
{{period.index}}
- {% endfor %} +
+ {{ current.desc }} + conditions +
+
- {% for weather in weather %} - weather forecast -
-

forecast at {{weather.forecast_date}}

+
+
+ {{ current.humidity }}% + humidity
- - - - - {% for period in weather.periods %} - - {% endfor %} - - - - - - {% for period in weather.periods %} - - {% endfor %} - - - - {% for period in weather.periods %} - - {% endfor %} - - - - {% for period in weather.periods %} - - {% endfor %} - - - - {% for period in weather.periods %} - - {% endfor %} - - - - {% for period in weather.periods %} - - {% endfor %} - - - - {% for period in weather.periods %} - - {% endfor %} - - - - {% for period in weather.periods %} - - {% endfor %} - - -
{{period.period}}
low{{period.low}} F
high{{period.high}} F
humidity{{period.humidity}}%
pressure{{period.pressure}}
sunrise{{period.sunrise}}
sunset{{period.sunset}}
desc{{period.desc}}
+
+ {{ current.pressure }} + pressure +
+
+ {{ fetched_at }} + date +
+
+
+ +
+ +
+
+ {% assign periods = "today,tomorrow" | split: "," %} + {% for period in periods %} + {% assign data = [period] %} +
+
+
{{ period }}
+ +
+ + {{ data.low }}°F / {{ data.high }}°F + +
+ +
+ {{ data.desc }} +
+ +
+ {{ data.sunrise }} - {{ data.sunset }} +
+ +
+
+ {{ data.humidity }}% + humidity +
+
+ {{ data.pressure }} + pressure +
+
+ {{ data.pollen }}% + pollen +
+
+ +
+
{% endfor %}
-
- {{ Content for column 2 }} -
-
- {{ Content for column 3 }} -
\ No newline at end of file