Weather
<%!
daycount = 0
curr_day = "Today"
%>
Today
% for period in forecast:
% if daycount <= 4:
% if period["day"] != curr_day:
${period["day"]}
% endif
<%!
if forecast[loop.index]["day"] != curr_day:
daycount += 1
curr_day = forecast[loop.index]["day"]
%>
${period["period"]}
${period["mintemp"]} – ${period["maxtemp"]}
% endif
% endfor
% if len(inbox) > 0: