From 947ab2296ccda524406756fd85bcd7663dae7a43 Mon Sep 17 00:00:00 2001 From: Muhammad Iqbal Rifai Date: Wed, 4 Jul 2018 09:39:27 +0200 Subject: [PATCH] Add Index Page --- views/index.ejs | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 views/index.ejs diff --git a/views/index.ejs b/views/index.ejs new file mode 100644 index 0000000..71c2dfa --- /dev/null +++ b/views/index.ejs @@ -0,0 +1,25 @@ +<% include ./layouts/header %> + +
+ <% episode.forEach(function(episode) { %> +
+ <% const episodeUrl = '/episodes/' + episode.slug; %> + +
+ <% }); %> +
+ +<% include ./layouts/footer %> + \ No newline at end of file