owlcode.tech/templates/page/post.html.ep

13 lines
367 B
Plaintext
Raw Normal View History

2022-11-09 13:31:58 +01:00
% use Mojo::DOM;
% use Mojo::Util;
%
% use BurguillosInfo::Posts;
% use BurguillosInfo::Categories;
% my $categories = BurguillosInfo::Categories->new->Retrieve;
% layout 'default', current_slug => $current_category->{slug}, categories => $categories;
% title $post->{title};
<div class="description">
<h2><%= $post->{title} %></h2>
<%== $post->{content} %>
</div>