19 lines
471 B
Plaintext
19 lines
471 B
Plaintext
% use Data::Dumper;
|
|
% use DateTime::Format::ISO8601;
|
|
%
|
|
% use Mojo::DOM;
|
|
% use Mojo::Util;
|
|
%
|
|
% use BurguillosInfo::Posts;
|
|
%
|
|
% my $category = stash 'category';
|
|
% my $attribute = stash 'attribute';
|
|
% my $posts = stash 'posts';
|
|
% layout 'default', current_category_slug => $category->{slug};
|
|
% title $attribute->{title};
|
|
<div class="description">
|
|
<h1><%= $attribute->{title} %></h1>
|
|
<%== $attribute->{description} %>
|
|
%= include 'page/_list_posts', posts => $posts;
|
|
</div>
|