diff --git a/templates/index.html.ep b/templates/index.html.ep index 3118ff6..806f580 100644 --- a/templates/index.html.ep +++ b/templates/index.html.ep @@ -1,21 +1,24 @@ % layout 'default'; % title 'Home';

Messages from the World Wide Web

-<% for my $row (reverse @$view_posts) { %> - - - - - - - - - - - - -
Date:<%= @$row[0] %>
Name:<%= @$row[1] %>
Message:<%= @$row[2] %>
-
+<% for my $row (reverse @$view_posts) { %> + + Date: + <%= @$row[0] %> + + + Name: + <%= @$row[1] %> + + + Message: + <%= @$row[2] %> + + +   +   + <% } %> + <%= pagination($this_page, $last_page, '?page={page}') %>