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