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