diff --git a/templates/page/index.html.ep b/templates/page/index.html.ep index ca44684..f8a004b 100644 --- a/templates/page/index.html.ep +++ b/templates/page/index.html.ep @@ -21,6 +21,9 @@ % my $date_article = DateTime::Format::ISO8601->parse_datetime($post->{date}); % $date_article->set_time_zone('Europe/Madrid');
<%= ''.$date_article %>
+% if (defined $post->{image}) { +