13 lines
367 B
Plaintext
13 lines
367 B
Plaintext
|
% 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>
|