% use Data::Dumper; % use DateTime::Format::ISO8601; % use Mojo::DOM; % % use Mojo::DOM; % use Mojo::Util; % % use OwlcodeTech::Posts; % % my $description_og = '
'.$current_category->{description}.'
'; % my $base_url = config 'base_url'; % $description_og = Mojo::DOM->new($description_og)->all_text; % layout 'default', current_category => $current_category, description_og => $description_og, ogimage => "$base_url/@{[$current_category->{slug}]}-preview.png"; % title $current_category->{title}; % if (defined $current_category->{image}) {
Portada de la categoría: <%= $current_category->{title} %>

<%== $current_category->{title} %>

<%== $current_category->{description} %>
% } else {

<%== $current_category->{title} %>

<%== $current_category->{description} %>
% } % if (defined $current_category->{extra_text}) {
<%== $current_category->{extra_text} %>
% }
% my $children_categories = $current_category->{children}; % my $attributes = $current_category->{attributes}; % if (@$children_categories || %$attributes) {

Quizás te interese.

% for my $child_category (@$children_categories) {

<%==$child_category->{title}%>

% } % for my $attribute_slug (keys %$attributes) { % my $attribute = $attributes->{$attribute_slug};

{slug}/atributo/$attribute->{identifier}"%>"><%==$attribute->{menu_text}%>

% } % } % my ($category_posts) = OwlcodeTech::Posts->new->RetrieveAllPostsForCategory($current_category->{slug}); %= include 'page/_list_posts', posts => $category_posts;

Suscribete a esta categoría.

Icono de suscripción rss