-
+
Travel
<%
for (var i = 0; i < data.trains.data.length; i++) { %>
diff --git a/views/partials/tv.ejs b/views/partials/tv.ejs
new file mode 100644
index 0000000..55bfda7
--- /dev/null
+++ b/views/partials/tv.ejs
@@ -0,0 +1,13 @@
+<% if (data.tv.entries.length > 0 ) {%>
+
+
TV
+ <%
+ for (var i = 0; i < data.tv.entries.length; i++) { %>
+
+
<%- data.tv.entries[i].combined %>
+
+ <% } %>
+
+
+
+<% } %>
diff --git a/views/partials/weather.ejs b/views/partials/weather.ejs
index a3881fe..b7ff88a 100644
--- a/views/partials/weather.ejs
+++ b/views/partials/weather.ejs
@@ -1,22 +1,26 @@
-
-
-
Weather
-
Currently: <%=data.weather.currently%>
-
Later: <%=data.weather.today%>
+
Weather
+
+
Currently: <%= data.weather.currently %>
+
+
+
Today: <%= data.weather.today %>
+
+
+
Later: <%= data.weather.later %>
+
- <% if (data.weather.alerts.length > 0) {
- for (var i =0; i < data.weather.alerts.length; i++) {
- %>
+ <% if (data.weather.alerts.length > 0) {
+ for (var i = 0; i < data.weather.alerts.length; i++) {
+ %>
-
-
<%=data.weather.alerts[i].title%>
-
<%=data.weather.alerts[i].description%>
-
+
+
<%= data.weather.alerts[i].title %>
+
<%= data.weather.alerts[i].description %>
+
- <%
-
- }
- }%>
+ <%
+ }
+ } %>